Index: pkg/analyzer2dart/lib/src/cps_generator.dart |
diff --git a/pkg/analyzer2dart/lib/src/cps_generator.dart b/pkg/analyzer2dart/lib/src/cps_generator.dart |
index 24a5eb264d31617dfc4254c5ead7c3b0b53d10a3..8bd4c0ad66833a2c492c6af8d94bcaaa1677667e 100644 |
--- a/pkg/analyzer2dart/lib/src/cps_generator.dart |
+++ b/pkg/analyzer2dart/lib/src/cps_generator.dart |
@@ -412,7 +412,7 @@ class CpsGeneratingVisitor extends SemanticVisitor<ir.Node> |
// [TreeShaker] and shared with the [CpsGeneratingVisitor]. |
assert(invariant(node, target.isTopLevel || target.isStatic, |
'$target expected to be top-level or static.')); |
- return irBuilder.buildStaticFieldGet(target); |
+ return irBuilder.buildStaticFieldLazyGet(target, null); |
} |
ir.Primitive handleBinaryExpression(BinaryExpression node, |