Index: tests/language_strong/field_test.dart |
diff --git a/tests/language_strong/field_test.dart b/tests/language_strong/field_test.dart |
index 0a34813961a67b60bfa7c35741446178c63e0cc5..fd255fa9f9152130daee8f38b5ff9d8612b3c013 100644 |
--- a/tests/language_strong/field_test.dart |
+++ b/tests/language_strong/field_test.dart |
@@ -8,8 +8,10 @@ import "package:meta/meta.dart" show virtual; |
class First { |
First() {} |
- @virtual var a; |
- @virtual var b; |
+ @virtual |
+ var a; |
+ @virtual |
+ var b; |
addFields() { |
return a + b; |
@@ -26,8 +28,13 @@ class Second extends First { |
// TODO: consider removing once http://b/4254120 is fixed. |
Second() : super() {} |
var c; |
- get a { return -12; } |
- set b(a) { a.c = 12; } |
+ get a { |
+ return -12; |
+ } |
+ |
+ set b(a) { |
+ a.c = 12; |
+ } |
} |
class FieldTest { |
@@ -68,7 +75,6 @@ class FieldTest { |
} |
} |
- |
main() { |
FieldTest.testMain(); |
} |