| Index: tests/language_2/compile_time_constant_static4_test.dart
|
| diff --git a/tests/language/compile_time_constant_checked4_test.dart b/tests/language_2/compile_time_constant_static4_test.dart
|
| similarity index 65%
|
| rename from tests/language/compile_time_constant_checked4_test.dart
|
| rename to tests/language_2/compile_time_constant_static4_test.dart
|
| index 5f6226ec64b14bd8a2977e9555f33668af66f45e..8436b05ca887e2efae1c3ea061493367d05fd073 100644
|
| --- a/tests/language/compile_time_constant_checked4_test.dart
|
| +++ b/tests/language_2/compile_time_constant_static4_test.dart
|
| @@ -5,16 +5,16 @@
|
| class A {
|
| final _x;
|
| const A.a1(
|
| - String //# 01: checked mode compile-time error, static type warning
|
| - x)
|
| + String //# 01: compile-time error
|
| + x)
|
| : this.a2(x);
|
| const A.a2(
|
| - String //# 02: checked mode compile-time error
|
| - x)
|
| + String //# 02: compile-time error
|
| + x)
|
| : this.a3(x);
|
| const A.a3(
|
| - String //# 03: checked mode compile-time error
|
| - x)
|
| + String //# 03: compile-time error
|
| + x)
|
| : _x = x;
|
| }
|
|
|
|
|