Index: tests/compiler/dart2js/resolution_test.dart |
diff --git a/tests/compiler/dart2js/resolution_test.dart b/tests/compiler/dart2js/resolution_test.dart |
index c905c7db473f8d4cb26bdf7e2deac635f5f426e1..a0afddfd3eba0676b53fd481273b6e3d921892dd 100644 |
--- a/tests/compiler/dart2js/resolution_test.dart |
+++ b/tests/compiler/dart2js/resolution_test.dart |
@@ -102,7 +102,7 @@ void test(String code, void check(CompilerImpl compiler)) { |
void testHasRuntimeType(String code) { |
test(code, (compiler) { |
- var element = compiler.commonElements.createRuntimeType; |
+ var element = compiler.resolution.commonElements.createRuntimeType; |
Expect.isTrue( |
compiler.enqueuer.resolution.processedEntities.contains(element)); |
}); |
@@ -110,7 +110,7 @@ void testHasRuntimeType(String code) { |
main() { |
test(NO_RUNTIME_TYPE, (compiler) { |
- var element = compiler.commonElements.createRuntimeType; |
+ var element = compiler.resolution.commonElements.createRuntimeType; |
Expect.isFalse( |
compiler.enqueuer.resolution.processedEntities.contains(element)); |
}); |