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

Unified Diff: tests/language/least_upper_bound_test.dart

Issue 2774783002: Re-land "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/least_upper_bound_expansive_test.dart ('k') | tests/language/library_ambiguous_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/least_upper_bound_test.dart
diff --git a/tests/language/least_upper_bound_test.dart b/tests/language/least_upper_bound_test.dart
index d75f35911f6dcc8f59c02fe55dfe3c4b49c97eeb..ae7df6cf2440bab8ebd6410aca8019c5b9909b91 100644
--- a/tests/language/least_upper_bound_test.dart
+++ b/tests/language/least_upper_bound_test.dart
@@ -7,12 +7,15 @@
class A {
var a;
}
+
class B {
var b;
}
+
class C extends B {
var c;
}
+
class D extends B {
var d;
}
@@ -22,10 +25,13 @@ class E<T> {
E(this.e);
}
+
class F<T> extends E<T> {
T f;
- F(T f) : this.f = f, super(f);
+ F(T f)
+ : this.f = f,
+ super(f);
}
void main() {
@@ -100,4 +106,4 @@ void testEF(E<B> e, F<C> f) {
var r5;
r5 = (true ? e : f).e; //# 31: static type warning
r5 = (false ? e : f).f; //# 32: static type warning
-}
+}
« no previous file with comments | « tests/language/least_upper_bound_expansive_test.dart ('k') | tests/language/library_ambiguous_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698