Index: tests/language_strong/const_constructor_super_test.dart |
diff --git a/tests/language_strong/const_constructor_super_test.dart b/tests/language_strong/const_constructor_super_test.dart |
index 2b5adb30418aebe4a9eb155840129fa844074085..b8bb9e206291644c6442f60f933f4671ead6cc0f 100644 |
--- a/tests/language_strong/const_constructor_super_test.dart |
+++ b/tests/language_strong/const_constructor_super_test.dart |
@@ -6,13 +6,15 @@ import "package:expect/expect.dart"; |
class A { |
final a; |
- A(this.a); // Not const. |
+ A(this.a); // Not const. |
const A.five() : a = 5; |
} |
class B extends A { |
final b; |
- B(x) : b = x + 1, super(x); |
+ B(x) |
+ : b = x + 1, |
+ super(x); |
// Const constructor cannot call non-const super constructor. |
const B.zerofive() : b = 0, super(5); // //# 01: compile-time error |