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

Unified Diff: tests/language/type_variable_bounds2_test.dart

Issue 48383003: Support checking of malbounded types. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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
Index: tests/language/type_variable_bounds2_test.dart
diff --git a/tests/language/type_variable_bounds2_test.dart b/tests/language/type_variable_bounds2_test.dart
index 1a23bebca809a5469262e57da42cd2690b01f2fc..f3c2de28227436f8df128166c06e9d7836523567 100644
--- a/tests/language/type_variable_bounds2_test.dart
+++ b/tests/language/type_variable_bounds2_test.dart
@@ -41,7 +41,7 @@ main() {
// However, while unsuccessfully trying to prove that A<String> is a K,
// a malformed type is encountered in checked mode, resulting in a dynamic
// type error.
- Expect.isTrue(a is !K); /// 05: dynamic type error
+ Expect.isTrue(a is !K); /// 05: dynamic type error, static type warning
}
a = new A<int>();

Powered by Google App Engine
This is Rietveld 408576698