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

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

Issue 1421003004: Add CoreClasses (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updated cf. comment. 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/trust_type_annotations_test.dart
diff --git a/tests/compiler/dart2js/trust_type_annotations_test.dart b/tests/compiler/dart2js/trust_type_annotations_test.dart
index 301d061c6d6e54890dccaff63daea803b608a616..f0777f249892972844d098c25a500a1307630355 100644
--- a/tests/compiler/dart2js/trust_type_annotations_test.dart
+++ b/tests/compiler/dart2js/trust_type_annotations_test.dart
@@ -66,7 +66,8 @@ void main() {
typesInferrer.getTypeOfElement(element), compiler.world));
}
- var intMask = new TypeMask.subtype(compiler.intClass, compiler.world);
+ var intMask = new TypeMask.subtype(
+ compiler.coreClasses.intClass, compiler.world);
checkReturn('foo', intMask);
checkReturn('faa', intMask);
« no previous file with comments | « tests/compiler/dart2js/simple_inferrer_try_catch_test.dart ('k') | tests/compiler/dart2js/type_checker_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698