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

Unified Diff: tests/language/reify_typevar_static_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/regress_28217_test.dart ('k') | tests/language/rewrite_implicit_this_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/reify_typevar_static_test.dart
diff --git a/tests/language/reify_typevar_static_test.dart b/tests/language/reify_typevar_static_test.dart
index 8c547a44f36acc835421a838b543945e47d826e3..9fe3680a8865b9e86be691b15261612969dd9bc4 100644
--- a/tests/language/reify_typevar_static_test.dart
+++ b/tests/language/reify_typevar_static_test.dart
@@ -10,16 +10,17 @@ class C<T> {
static staticFunction(bool b) =>
b ? T : // //# 00: compile-time error
- null;
+ null;
factory C.factoryConstructor(bool b) => new C(
b ? T : // //# 01: ok
- null);
+ null);
C.redirectingConstructor(bool b) : this(
b ? T : // //# 02: ok
- null);
- C.ordinaryConstructor(bool b) : x =
+ null);
+ C.ordinaryConstructor(bool b)
+ : x =
b ? T : // //# 03: ok
- null;
+ null;
}
main() {
« no previous file with comments | « tests/language/regress_28217_test.dart ('k') | tests/language/rewrite_implicit_this_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698