| Index: tests/language/constructor6_test.dart
|
| diff --git a/tests/language/constructor6_test.dart b/tests/language/constructor6_test.dart
|
| index b5f6c688e7a9027d6fb440098d61458e6f387a36..ebd1aca9e5c8916a41bddd79715306f15c05d34f 100644
|
| --- a/tests/language/constructor6_test.dart
|
| +++ b/tests/language/constructor6_test.dart
|
| @@ -18,8 +18,8 @@ int E(int i) {
|
| class A {
|
| // f closes-over arg. arg needs to be preserved while b2 is initialized.
|
| A(arg)
|
| - : a = E(arg += 1)
|
| - , f = (() => E(arg += 10)) {
|
| + : a = E(arg += 1),
|
| + f = (() => E(arg += 10)) {
|
| // b2 should be initialized between the above initializers and the following
|
| // statements.
|
| var r1 = f();
|
| @@ -32,7 +32,10 @@ class A {
|
|
|
| class B extends A {
|
| // Initializers in order: b1, super, b2.
|
| - B(x, y) : b1 = E(x++), super(1000), b2 = E(y++) {
|
| + B(x, y)
|
| + : b1 = E(x++),
|
| + super(1000),
|
| + b2 = E(y++) {
|
| // Implicit super call to A's body happens here.
|
| E(x);
|
| E(y);
|
|
|