Index: pkg/compiler/lib/src/ssa/builder.dart |
diff --git a/pkg/compiler/lib/src/ssa/builder.dart b/pkg/compiler/lib/src/ssa/builder.dart |
index 76070774a5bff3f0d5b9cf3d2f4196cee0c3ff2f..ba9e66fa795075402193f2a8a0dd43422b931208 100644 |
--- a/pkg/compiler/lib/src/ssa/builder.dart |
+++ b/pkg/compiler/lib/src/ssa/builder.dart |
@@ -1746,7 +1746,8 @@ class SsaBuilder extends ast.Visitor |
} |
HGraph buildCheckedSetter(VariableElement field) { |
- openFunction(field, field.node); |
+ ResolvedAst resolvedAst = field.resolvedAst; |
+ openFunction(field, resolvedAst.node); |
HInstruction thisInstruction = localsHandler.readThis(); |
// Use dynamic type because the type computed by the inferrer is |
// narrowed to the type annotation. |