Chromium Code Reviews| Index: tests/language/static_top_level_test.dart |
| diff --git a/tests/language/static_top_level_test.dart b/tests/language/static_top_level_test.dart |
| index 8255d9f989e316234a70546b2034abc4ea536d45..9d2f8b418219ca80cc6052fd34bfbcf8e3f379a3 100644 |
| --- a/tests/language/static_top_level_test.dart |
| +++ b/tests/language/static_top_level_test.dart |
| @@ -4,11 +4,11 @@ |
| static method() { } /// 00: compile-time error |
| static var field; /// 01: compile-time error |
| -static final constant = 42; /// 02: compile-time error |
| +static const constant = 42; /// 02: compile-time error |
|
ahe
2012/08/22 10:14:45
I think you need to duplicate this test. One for f
Johnni Winther
2012/08/22 15:35:43
Done.
|
| static int typedMethod() => 87; /// 03: compile-time error |
| static int typedField; /// 04: compile-time error |
| -static final int typedConstant = 99; /// 05: compile-time error |
| +static const int typedConstant = 99; /// 05: compile-time error |
|
ahe
2012/08/22 10:14:45
And this.
Johnni Winther
2012/08/22 15:35:43
Done.
|
| void main() { |
| } |