Index: pkg/compiler/lib/src/resolution/resolution_strategy.dart |
diff --git a/pkg/compiler/lib/src/resolution/resolution_strategy.dart b/pkg/compiler/lib/src/resolution/resolution_strategy.dart |
index c29092f2b3b938f5090efe9b0754c9090128d06e..d5469969d9da4b31edddb9d79b83b8dcfff35649 100644 |
--- a/pkg/compiler/lib/src/resolution/resolution_strategy.dart |
+++ b/pkg/compiler/lib/src/resolution/resolution_strategy.dart |
@@ -96,7 +96,7 @@ class ResolutionFrontEndStrategy implements FrontendStrategy { |
_compiler.resolution, |
_compiler.reporter, |
elementEnvironment, |
- _compiler.commonElements, |
+ commonElements, |
nativeBasicData); |
} |
@@ -104,8 +104,7 @@ class ResolutionFrontEndStrategy implements FrontendStrategy { |
new ResolutionNoSuchMethodResolver(); |
MirrorsDataBuilder createMirrorsDataBuilder() { |
- return new MirrorsDataImpl( |
- _compiler, _compiler.options, _compiler.commonElements); |
+ return new MirrorsDataImpl(_compiler, _compiler.options, commonElements); |
} |
MirrorsResolutionAnalysis createMirrorsResolutionAnalysis( |
@@ -651,7 +650,7 @@ class _ElementAnnotationProcessor implements AnnotationProcessor { |
_ElementAnnotationProcessor(this._compiler); |
- CommonElements get _commonElements => _compiler.commonElements; |
+ CommonElements get _commonElements => _compiler.resolution.commonElements; |
/// Check whether [cls] has a `@Native(...)` annotation, and if so, set its |
/// native name from the annotation. |