Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1110)

Unified Diff: tests/compiler/dart2js/expect_annotations_test.dart

Issue 1421003004: Add CoreClasses (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698