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

Unified Diff: tests/language/type_variable_bounds_test.dart

Issue 2770063002: Revert "Format all multitests" (Closed)
Patch Set: Created 3 years, 9 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_bounds4_test.dart ('k') | tests/language/type_variable_conflict_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 5fe2a3c9b4c9131487e57d69bf7c4cf16fb6564f..7696d489aabb745f4faab260670d0770ddba77aa 100644
--- a/tests/language/type_variable_bounds_test.dart
+++ b/tests/language/type_variable_bounds_test.dart
@@ -11,9 +11,7 @@ class Foo<T extends num> {
factory Foo.good() = Foo;
- factory Foo.IFoo() {
- return null;
- }
+ factory Foo.IFoo() { return null; }
}
abstract class IFoo<T extends num> {
@@ -32,9 +30,10 @@ Foo<int> fi;
// String is not assignable to num.
Foo
<String> //# 02: static type warning, dynamic type error
- fs;
+ fs;
class Box<T> {
+
// Box.T is not assignable to num.
Foo<T> t; //# 03: static type warning
« no previous file with comments | « tests/language/type_variable_bounds4_test.dart ('k') | tests/language/type_variable_conflict_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698