We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47043cc commit 3fba354Copy full SHA for 3fba354
libsolidity/experimental/codegen/IRGeneratorForStatements.h
@@ -74,7 +74,8 @@ class IRGeneratorForStatements: public ASTConstVisitor
74
}
75
else
76
{
77
- Type underlyingType = _context.analysis.annotation<TypeInference>().underlyingTypes.at(typeConstant.constructor);
+ Type underlyingType = _context.env->resolve(
78
+ _context.analysis.annotation<TypeInference>().underlyingTypes.at(typeConstant.constructor));
79
if (helper.isTypeConstant(underlyingType))
80
return stackSize(_context, underlyingType);
81
0 commit comments