Index: compiler/javatests/com/google/dart/compiler/backend/js/testFieldAccessExprOpt.dart |
diff --git a/compiler/javatests/com/google/dart/compiler/backend/js/testFieldAccessExprOpt.dart b/compiler/javatests/com/google/dart/compiler/backend/js/testFieldAccessExprOpt.dart |
index 278ead8fc4e2c14c52cc80e9d203f347a3a27a67..d27283335df06ecd00589a37590ce9ee4c2768d5 100644 |
--- a/compiler/javatests/com/google/dart/compiler/backend/js/testFieldAccessExprOpt.dart |
+++ b/compiler/javatests/com/google/dart/compiler/backend/js/testFieldAccessExprOpt.dart |
@@ -5,9 +5,9 @@ |
class A { |
int x; |
- static final A a = new A(); |
+ const A() : this.x = 1; |
- A(){} |
+ static final A a = const A(); |
ngeoffray
2011/10/17 10:59:38
Any reason for reordering the lines?
|
} |
class WillNotOptimizeFieldAccess { |