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

Unified Diff: tests/language_2/type_variable_bounds3_test.dart

Issue 3007803002: Migrate block 162 to Dart 2.0.
Patch Set: Created 3 years, 4 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_2/type_variable_bounds3_test.dart
diff --git a/tests/language_strong/type_variable_bounds3_test.dart b/tests/language_2/type_variable_bounds3_test.dart
similarity index 84%
rename from tests/language_strong/type_variable_bounds3_test.dart
rename to tests/language_2/type_variable_bounds3_test.dart
index 462999bec341ea25bff6821bc611ee81fceb4db8..500d09ed59c351eafbea5713a39f05a39bdad3a2 100644
--- a/tests/language_strong/type_variable_bounds3_test.dart
+++ b/tests/language_2/type_variable_bounds3_test.dart
@@ -8,7 +8,7 @@ class A<K extends int> {}
class B<X, Y> {
Bob Nystrom 2017/08/30 20:02:44 Is "Y" used for anything? Why is it here?
eernst 2017/09/04 17:05:00 Agreed that `Y` seems to be noise-only here. Anot
jcollins 2017/09/28 21:16:29 +1. I've resisted dropping noise since I noticed
foo(x) {
- return x is A<X>; // //# 00: dynamic type error, static type warning
+ return x is A<X>; // //# 00: compile-time error
}
}

Powered by Google App Engine
This is Rietveld 408576698