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

Unified Diff: tests/language/type_variable_bounds3_test.dart

Issue 48383003: Support checking of malbounded types. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments Created 7 years, 2 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_variable_bounds2_test.dart ('k') | tests/language/type_variable_bounds4_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/type_variable_bounds3_test.dart
diff --git a/tests/language/type_variable_bounds3_test.dart b/tests/language/type_variable_bounds3_test.dart
index 876ed9421e3005474b4693e30f205ebc5270b9a8..6e0c38968f89a78494cc737660557e2b59bd84ff 100644
--- a/tests/language/type_variable_bounds3_test.dart
+++ b/tests/language/type_variable_bounds3_test.dart
@@ -9,7 +9,7 @@ class A<K extends int> {
class B<X, Y> {
foo(x) {
- return x is A<X>; /// 00: dynamic type error
+ return x is A<X>; /// 00: dynamic type error, static type warning
}
}
« no previous file with comments | « tests/language/type_variable_bounds2_test.dart ('k') | tests/language/type_variable_bounds4_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698