Index: tests/compiler/dart2js/expect_annotations_test.dart |
diff --git a/tests/compiler/dart2js/expect_annotations_test.dart b/tests/compiler/dart2js/expect_annotations_test.dart |
index 62e29ae64cace07e1a97414136563caa10018fc6..7c4605a464af943bfba075f96c8f3285e797d22b 100644 |
--- a/tests/compiler/dart2js/expect_annotations_test.dart |
+++ b/tests/compiler/dart2js/expect_annotations_test.dart |
@@ -105,8 +105,8 @@ main() { |
TypeMask jsStringType = compiler.typesTask.stringType; |
TypeMask jsIntType = compiler.typesTask.intType; |
- TypeMask coreStringType = new TypeMask.subtype(compiler.stringClass, |
- compiler.world); |
+ TypeMask coreStringType = new TypeMask.subtype( |
+ compiler.coreClasses.stringClass, compiler.world); |
test('method'); |
test('methodAssumeDynamic', expectAssumeDynamic: true); |