Index: tests/language/constructor_return_test.dart |
diff --git a/tests/language/constructor_return_test.dart b/tests/language/constructor_return_test.dart |
index 2f03e58248f870e786acde839e093bc412190fbe..c971ed3f278030406a2e8ea6bff9a4d086df064e 100644 |
--- a/tests/language/constructor_return_test.dart |
+++ b/tests/language/constructor_return_test.dart |
@@ -8,9 +8,7 @@ import "package:expect/expect.dart"; |
// statements in the form 'return;'. |
class A { |
int x; |
- A(this.x) { |
- return; |
- } |
+ A(this.x) { return; } |
A.test1(this.x) { |
return this; // //# 01: compile-time error |
} |