| Index: tests/language/compile_time_constant_test.dart
|
| diff --git a/tests/language/compile_time_constant_test.dart b/tests/language/compile_time_constant_test.dart
|
| index aedc271252fdd98858f3f245250c83176e65b720..ca433394c4ad3d75b7d67b4441a5cfee55596d64 100644
|
| --- a/tests/language/compile_time_constant_test.dart
|
| +++ b/tests/language/compile_time_constant_test.dart
|
| @@ -4,7 +4,7 @@
|
|
|
| class Bad {
|
| int foo;
|
| - const int bar
|
| + static int bar
|
| = foo /// 01: compile-time error
|
| ;
|
| static const int toto =
|
| @@ -15,6 +15,6 @@ class Bad {
|
| void use(x) {}
|
|
|
| main() {
|
| - use(new Bad().bar);
|
| + use(Bad.bar);
|
| use(Bad.toto);
|
| }
|
|
|