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

Unified Diff: tests/language/deferred_constraints_type_annotation_test.dart

Issue 216383004: Merge initial implementation of deferred handling in the VM: (Closed) Base URL: http://dart.googlecode.com/svn/trunk/dart/
Patch Set: Created 6 years, 9 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
« no previous file with comments | « runtime/vm/symbols.h ('k') | tests/language/language.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/deferred_constraints_type_annotation_test.dart
===================================================================
--- tests/language/deferred_constraints_type_annotation_test.dart (revision 34495)
+++ tests/language/deferred_constraints_type_annotation_test.dart (working copy)
@@ -15,7 +15,7 @@
lib.C a = null; /// type_annotation_null: static type warning
Expect.throws(() { /// new_before_load: static type warning
lib.C a = new lib.C(); /// new_before_load: continued
- }, (e) => e is NoSuchMethodError); /// new_before_load: continued
+ }, (e) => e is Error); /// new_before_load: continued
// In this case we do not defer C.
lib2.C a1 = new lib2.C(); /// type_annotation_non_deferred: continued
« no previous file with comments | « runtime/vm/symbols.h ('k') | tests/language/language.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698