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

Unified Diff: tests/language/type_variable_scope_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_scope3_test.dart ('k') | tests/language/typevariable_substitution2_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/type_variable_scope_test.dart
diff --git a/tests/language/type_variable_scope_test.dart b/tests/language/type_variable_scope_test.dart
index efc55e38582deae7104b781f5dd43294b645272e..04ee6eace2a2db635668b72a366929252145362e 100644
--- a/tests/language/type_variable_scope_test.dart
+++ b/tests/language/type_variable_scope_test.dart
@@ -5,13 +5,13 @@
// Test that type variables referenced from within static members are malformed.
class Foo<T> {
- Foo() {}
+ Foo() { }
static
Foo<T> //# 00: static type warning
- m(
+ m(
Foo<T> //# 01: static type warning
- f) {
+ f) {
Foo<T> x = new Foo<String>(); //# 02: static type warning
return new Foo<String>();
}
@@ -26,13 +26,11 @@ class Foo<T> {
static
Foo<T> //# 04: static type warning
- get f {
- return new Foo<String>();
- }
+ get f { return new Foo<String>(); }
static void set f(
Foo<T> //# 05: static type warning
- value) {}
+ value) {}
}
abstract class I<T> {
« no previous file with comments | « tests/language/type_variable_scope3_test.dart ('k') | tests/language/typevariable_substitution2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698