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

Unified Diff: tests/language/type_variable_bounds_test.dart

Issue 11348188: Ambiguous type references require a compile time error in some special cases (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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/new_expression_type_args_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/type_variable_bounds_test.dart
===================================================================
--- tests/language/type_variable_bounds_test.dart (revision 15232)
+++ tests/language/type_variable_bounds_test.dart (working copy)
@@ -60,7 +60,7 @@
new Box<String>().makeFoo();
// Fisk does not exist.
- new Box<Fisk>(); /// 07: compile-time error
+ new Box<Fisk>(); /// 07: static type warning, dynamic type error
// Too many type arguments.
new Box<Object, Object>(); /// 08: compile-time error
« no previous file with comments | « tests/language/new_expression_type_args_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698