| Index: tests/language/constructor_redirect2_test.dart
|
| diff --git a/tests/language/constructor_redirect2_test.dart b/tests/language/constructor_redirect2_test.dart
|
| index b8d8db4438c9449c4126b34b2cda9d60727e8d41..2b1fa9a358bb26951ef6dbdceeed0671871aac31 100644
|
| --- a/tests/language/constructor_redirect2_test.dart
|
| +++ b/tests/language/constructor_redirect2_test.dart
|
| @@ -8,7 +8,7 @@ class A {
|
| A(this.x) {}
|
|
|
| // Redirecting constructor must not have a function body.
|
| - A.illegalBody(x) : this(3) {} /// 01: compile-time error
|
| + A.illegalBody(x) : this(3) {} // /// 01: compile-time error
|
|
|
| // Redirecting constructor must not initialize any fields.
|
| A.illegalInit() : this(3), x = 5; /// 02: compile-time error
|
| @@ -22,8 +22,8 @@ class A {
|
|
|
| main() {
|
| new A(3);
|
| - new A.illegalBody(10); /// 01: continued
|
| - new A.illegalInit(); /// 02: continued
|
| - new A.illegalFormal(10); /// 03: continued
|
| - new A.illegalSuper(); /// 04: continued
|
| + new A.illegalBody(10); // /// 01: continued
|
| + new A.illegalInit(); // /// 02: continued
|
| + new A.illegalFormal(10); // /// 03: continued
|
| + new A.illegalSuper(); // /// 04: continued
|
| }
|
|
|