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

Unified Diff: tests/compiler/dart2js/simple_inferrer_try_catch_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/simple_inferrer_try_catch_test.dart
diff --git a/tests/compiler/dart2js/simple_inferrer_try_catch_test.dart b/tests/compiler/dart2js/simple_inferrer_try_catch_test.dart
index 19053d870b15f048f352fad3089a68dd9930e8ce..6b465b91311609e3bce3e0b8707884f49efaac3c 100644
--- a/tests/compiler/dart2js/simple_inferrer_try_catch_test.dart
+++ b/tests/compiler/dart2js/simple_inferrer_try_catch_test.dart
@@ -183,8 +183,8 @@ void main() {
checkReturn('returnInt3', typesTask.uint31Type);
checkReturn('returnInt4', typesTask.uint31Type);
checkReturn('returnInt5', typesTask.uint31Type);
- checkReturn('returnInt6',
- new TypeMask.nonNullSubtype(compiler.intClass, compiler.world));
+ checkReturn('returnInt6', new TypeMask.nonNullSubtype(
+ compiler.coreClasses.intClass, compiler.world));
var subclassOfInterceptor =
findTypeMask(compiler, 'Interceptor', 'nonNullSubclass');
« no previous file with comments | « tests/compiler/dart2js/simple_inferrer_test.dart ('k') | tests/compiler/dart2js/trust_type_annotations_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698