Actually set the variable that is used to trigger the assertion

Swift SVN r23639
This commit is contained in:
Dmitri Hrybenko
2014-12-03 04:47:17 +00:00
parent 610b1ceb8c
commit e03ff647ec

View File

@@ -631,6 +631,7 @@ ModuleFile::ModuleFile(
}
case input_block::MODULE_FLAGS: {
assert(!seenFlags && "only one flags record allowed");
seenFlags = true;
bool hasUnderlyingModule;
input_block::ModuleFlagsLayout::readRecord(scratch,
hasUnderlyingModule);