Index: tests/compiler/dart2js/resolver_test.dart |
diff --git a/tests/compiler/dart2js/resolver_test.dart b/tests/compiler/dart2js/resolver_test.dart |
index 72277c8152b282538bb97004683d79cb7b674f3e..fd1534a9d34f73e182c75bdd6028d9afc0eb362e 100644 |
--- a/tests/compiler/dart2js/resolver_test.dart |
+++ b/tests/compiler/dart2js/resolver_test.dart |
@@ -839,7 +839,8 @@ testInitializers() { |
class StackTrace {} |
class Dynamic_ {} |
class Type {} |
- class Object { Object() : super(); }'''; |
+ class Object { Object() : super(); } |
+ const proxy = 0;'''; |
resolveConstructor(script, "Object o = new Object();", "Object", "", 1, |
expectedWarnings: [], |
expectedErrors: [MessageKind.SUPER_INITIALIZER_IN_OBJECT], |