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

Unified Diff: tests/language/library_ambiguous_test.dart

Issue 54983007: Make test of malformed types a dynamic type error. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments. 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
« no previous file with comments | « tests/language/language_dart2js.status ('k') | tests/language/malformed2_lib.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/library_ambiguous_test.dart
diff --git a/tests/language/library_ambiguous_test.dart b/tests/language/library_ambiguous_test.dart
index 1584b24aa4df1aa4b5be8cf9654790715c164faf..b3bdb36d03b225f6ae1c955a8910fece5cc35c0a 100644
--- a/tests/language/library_ambiguous_test.dart
+++ b/tests/language/library_ambiguous_test.dart
@@ -17,7 +17,7 @@ main() {
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.");
}
« no previous file with comments | « tests/language/language_dart2js.status ('k') | tests/language/malformed2_lib.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698