| Index: tests/language_strong/constructor_return_test.dart
|
| diff --git a/tests/language_strong/constructor_return_test.dart b/tests/language_strong/constructor_return_test.dart
|
| index a48507dc34e133c02ecf678ad85ec21125f4b530..4361a53cf89e28b9e77f5bbc80253aab690369fc 100644
|
| --- a/tests/language_strong/constructor_return_test.dart
|
| +++ b/tests/language_strong/constructor_return_test.dart
|
| @@ -10,26 +10,26 @@ class A {
|
| int x;
|
| A(this.x) { return; }
|
| A.test1(this.x) {
|
| - return this; /// 01: compile-time error
|
| + return this; // /// 01: compile-time error
|
| }
|
| A.test2(this.x) {
|
| - return null; /// 02: compile-time error
|
| + return null; // /// 02: compile-time error
|
| }
|
| int foo(int y) => x + y;
|
| }
|
|
|
| class B {
|
| - B() => null; /// 03: compile-time error
|
| + B() => null; // /// 03: compile-time error
|
| }
|
|
|
| class C {
|
| int value;
|
| - C() : value = 1 { return null; } /// 04: compile-time error
|
| + C() : value = 1 { return null; } // /// 04: compile-time error
|
| }
|
|
|
| class D {
|
| int value;
|
| - D(): value = 1 => null; /// 05: compile-time error
|
| + D(): value = 1 => null; // /// 05: compile-time error
|
| }
|
|
|
| main() {
|
|
|