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

Unified Diff: tests/language/type_variable_bounds_test.dart

Issue 19097003: Support new malformed types semantics. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix unittests. Created 7 years, 5 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 | « tests/language/type_parameter_test.dart ('k') | tests/language/type_variable_scope2_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/type_variable_bounds_test.dart
diff --git a/tests/language/type_variable_bounds_test.dart b/tests/language/type_variable_bounds_test.dart
index 30bf61c1fa2308cd7dd72156c1d620b2b759eed7..612edb27f394927217e06682d8058e0ae79a4f69 100644
--- a/tests/language/type_variable_bounds_test.dart
+++ b/tests/language/type_variable_bounds_test.dart
@@ -61,10 +61,10 @@ main() {
new Box<String>().makeFoo();
// Fisk does not exist.
- new Box<Fisk>(); /// 07: static type warning, dynamic type error
+ new Box<Fisk>(); /// 07: static type warning
// Too many type arguments.
- new Box<Object, Object>(); /// 08: compile-time error
+ new Box<Object, Object>(); /// 08: static type warning
// Fisk does not exist.
Box<Fisk> box = null; /// 09: static type warning
« no previous file with comments | « tests/language/type_parameter_test.dart ('k') | tests/language/type_variable_scope2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698