diff --git a/lib/Dialect/FIRRTL/Import/FIRParser.cpp b/lib/Dialect/FIRRTL/Import/FIRParser.cpp index 2d613faeadda..b1594243986a 100644 --- a/lib/Dialect/FIRRTL/Import/FIRParser.cpp +++ b/lib/Dialect/FIRRTL/Import/FIRParser.cpp @@ -5237,7 +5237,7 @@ ParseResult FIRCircuitParser::parseFormal(CircuitOp circuit, unsigned indent) { auto &body = formal.getBody().emplaceBlock(); // Defer the parsing of the body - deferredModules.emplace_back( + deferredBodies.emplace_back( DeferredBodyToParse{body, getLexer().getCursor(), indent}); // Skip to the end of the body