| Index: tests/language_strong/constructor_test.dart
|
| diff --git a/tests/language_strong/constructor_test.dart b/tests/language_strong/constructor_test.dart
|
| index 54923f0a42c79f5d205f00802a382d89641d1396..b1cd81be2aeae249a4100d64551b77c281ade53d 100644
|
| --- a/tests/language_strong/constructor_test.dart
|
| +++ b/tests/language_strong/constructor_test.dart
|
| @@ -6,21 +6,21 @@
|
| import "package:expect/expect.dart";
|
|
|
| class A extends B {
|
| - A(x, y) : super(y), a = x { }
|
| + A(x, y)
|
| + : super(y),
|
| + a = x {}
|
|
|
| var a;
|
| }
|
|
|
| -
|
| class B {
|
| var b;
|
|
|
| - B(x) : b = x { }
|
| + B(x) : b = x {}
|
|
|
| B.namedB(var x) : b = x {}
|
| }
|
|
|
| -
|
| // Test the order of initialization: first the instance variable then
|
| // the super constructor.
|
| abstract class Alpha {
|
| @@ -31,7 +31,9 @@ abstract class Alpha {
|
| }
|
|
|
| class Beta extends Alpha {
|
| - Beta(v) : super(v), b = 1 {}
|
| + Beta(v)
|
| + : super(v),
|
| + b = 1 {}
|
|
|
| foo(v) {
|
| // Check that 'b' was initialized.
|
|
|