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

Unified Diff: tests/language/library_ambiguous_test.dart

Issue 57133004: Complete latest spec changes regarding malformed types (see issue 14006). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 1 month 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/language/library_ambiguous_test.dart
===================================================================
--- tests/language/library_ambiguous_test.dart (revision 29871)
+++ tests/language/library_ambiguous_test.dart (working copy)
@@ -17,7 +17,7 @@
print(bar()); /// 01: runtime error
print(baz()); /// 02: runtime error
print(bay()); /// 03: runtime error
- print(main is bax); /// 04: static type warning
+ print(main is bax); /// 04: runtime error
var x = new X(); /// 05: continued
print("No error expected if ambiguous definitions are not used.");
}

Powered by Google App Engine
This is Rietveld 408576698