Chromium Code Reviews| Index: tests/language/src/ConstInitTest.dart |
| diff --git a/tests/language/src/ConstInitTest.dart b/tests/language/src/ConstInitTest.dart |
| index 9c64e69ee11f4ab6cdc68d559e7f0eb898e5f8e0..3a53c76618d9eb359db3bb9df8be602fe41a9f3b 100644 |
| --- a/tests/language/src/ConstInitTest.dart |
| +++ b/tests/language/src/ConstInitTest.dart |
| @@ -42,6 +42,8 @@ class ConstInitTest { |
| class C2 { |
| static final Q = const Point(0, 0); |
| + // TODO(zundel): Was it intentional to forward reference O, N? |
| + // Compiler doesn't recognize the type of O, N as int in that case. |
|
ngeoffray
2011/10/14 09:26:56
The order should not matter. I think the CTC check
|
| static final P = 2 * (O - N); |
| static final O = 1 + 3; |
| static final N = 1; |