Index: pkg/compiler/lib/src/native/resolver.dart |
diff --git a/pkg/compiler/lib/src/native/resolver.dart b/pkg/compiler/lib/src/native/resolver.dart |
index b8ef149875daf9ee3d30e822ad793867e2f465fe..5f9446544dc7b30813bc96c81b42c72b89ef78c2 100644 |
--- a/pkg/compiler/lib/src/native/resolver.dart |
+++ b/pkg/compiler/lib/src/native/resolver.dart |
@@ -217,7 +217,8 @@ class NativeDataResolverImpl extends NativeMemberResolverBase |
JavaScriptBackend get _backend => _compiler.backend; |
DiagnosticReporter get _reporter => _compiler.reporter; |
- ElementEnvironment get elementEnvironment => _compiler.elementEnvironment; |
+ ElementEnvironment get elementEnvironment => |
+ _compiler.resolution.elementEnvironment; |
CommonElements get commonElements => _compiler.resolution.commonElements; |
NativeBasicData get nativeBasicData => _backend.nativeBasicData; |
NativeDataBuilder get nativeDataBuilder => _backend.nativeDataBuilder; |