File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -497,8 +497,7 @@ MaybeResult<ModuleInstantiation> instantiation(Lexer& in) {
497497 return in.err (" expected end of module instantiation" );
498498 }
499499
500- return ModuleInstantiation{.moduleName = *moduleId,
501- .instanceName = *instanceId};
500+ return ModuleInstantiation{*moduleId, *instanceId};
502501}
503502
504503using ModuleOrInstantiation = std::variant<ModuleInstantiation, WASTModule>;
Original file line number Diff line number Diff line change @@ -190,7 +190,6 @@ struct Shell {
190190
191191 // We copy pointers as a registered module's name might still be used
192192 // in an assertion or invoke command.
193-
194193 modules[reg.name ] = modules[lastModule];
195194
196195 interfaces[reg.name ] = interfaces[instanceName];
You can’t perform that action at this time.
0 commit comments