mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Actually set the variable that is used to trigger the assertion
Swift SVN r23639
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user