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

Unified Diff: tests/language_strong/type_variable_scope_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
Index: tests/language_strong/type_variable_scope_test.dart
diff --git a/tests/language_strong/type_variable_scope_test.dart b/tests/language_strong/type_variable_scope_test.dart
index 04ee6eace2a2db635668b72a366929252145362e..efc55e38582deae7104b781f5dd43294b645272e 100644
--- a/tests/language_strong/type_variable_scope_test.dart
+++ b/tests/language_strong/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,11 +26,13 @@ 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_strong/type_variable_scope3_test.dart ('k') | tests/language_strong/typevariable_substitution2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698