Index: pkg/compiler/lib/src/native/behavior.dart |
diff --git a/pkg/compiler/lib/src/native/behavior.dart b/pkg/compiler/lib/src/native/behavior.dart |
index fd95c87897735b44dd0b3af2536f7fc6c8b3001f..785f4cbe76fe1516a0f6116613ebd14ff12aed9b 100644 |
--- a/pkg/compiler/lib/src/native/behavior.dart |
+++ b/pkg/compiler/lib/src/native/behavior.dart |
@@ -1040,7 +1040,7 @@ class ResolverBehaviorBuilder extends BehaviorBuilder { |
ResolverBehaviorBuilder(this.compiler, this.nativeBasicData); |
@override |
- CommonElements get commonElements => compiler.commonElements; |
+ CommonElements get commonElements => resolution.commonElements; |
@override |
bool get trustJSInteropTypeAnnotations => |