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

Unified Diff: tests/language_strong/reify_typevar_static_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
Index: tests/language_strong/reify_typevar_static_test.dart
diff --git a/tests/language_strong/reify_typevar_static_test.dart b/tests/language_strong/reify_typevar_static_test.dart
index 9fe3680a8865b9e86be691b15261612969dd9bc4..8c547a44f36acc835421a838b543945e47d826e3 100644
--- a/tests/language_strong/reify_typevar_static_test.dart
+++ b/tests/language_strong/reify_typevar_static_test.dart
@@ -10,17 +10,16 @@ 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_strong/regress_23500_test.dart ('k') | tests/language_strong/rewrite_implicit_this_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698