Skip to content

Commit a9a049e

Browse files
committed
Minor fix
1 parent d039586 commit a9a049e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: libsolidity/experimental/codegen/IRGeneratorForStatements.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ class IRGeneratorForStatements: public ASTConstVisitor
7474
}
7575
else
7676
{
77-
Type underlyingType = _context.analysis.annotation<TypeInference>().underlyingTypes.at(typeConstant.constructor);
77+
Type underlyingType = _context.env->resolve(
78+
_context.analysis.annotation<TypeInference>().underlyingTypes.at(typeConstant.constructor));
7879
if (helper.isTypeConstant(underlyingType))
7980
return stackSize(_context, underlyingType);
8081

0 commit comments

Comments
 (0)