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? |
ngeoffray
2011/10/17 10:59:38
Does it matter?
zundel
2011/10/17 14:14:26
As per Florian's request, moved to a separate test
|
+ // Compiler doesn't recognize the type of O, N as int in that case. |
ngeoffray
2011/10/17 10:59:38
Maybe file a bug to fix that in dartc?
zundel
2011/10/17 14:14:26
Codesite issue 120
|
static final P = 2 * (O - N); |
static final O = 1 + 3; |
static final N = 1; |