Index: tests/compiler/dart2js/metadata_test.dart |
diff --git a/tests/compiler/dart2js/metadata_test.dart b/tests/compiler/dart2js/metadata_test.dart |
index 1fcb75a34496ce873e3ceebae23c64b4d0f56691..4e02d54e1d4b9c2a237344de11665c83e29f5ecd 100644 |
--- a/tests/compiler/dart2js/metadata_test.dart |
+++ b/tests/compiler/dart2js/metadata_test.dart |
@@ -22,6 +22,7 @@ void checkAnnotation(String name, String declaration, |
main() {}"""; |
compileAndCheck(source, name, (compiler, element) { |
+ compiler.enqueuer.resolution.queueIsClosed = false; |
Expect.equals(1, length(element.metadata)); |
MetadataAnnotation annotation = element.metadata.head; |
annotation.ensureResolved(compiler); |
@@ -37,6 +38,7 @@ void checkAnnotation(String name, String declaration, |
main() {}"""; |
compileAndCheck(source, name, (compiler, element) { |
+ compiler.enqueuer.resolution.queueIsClosed = false; |
Expect.equals(2, length(element.metadata)); |
MetadataAnnotation annotation1 = element.metadata.head; |
MetadataAnnotation annotation2 = element.metadata.tail.head; |
@@ -63,6 +65,7 @@ void checkAnnotation(String name, String declaration, |
main() {}"""; |
compileAndCheck(source, 'Foo', (compiler, element) { |
+ compiler.enqueuer.resolution.queueIsClosed = false; |
Expect.equals(0, length(element.metadata)); |
element.ensureResolved(compiler); |
Expect.equals(0, length(element.metadata)); |
@@ -84,6 +87,7 @@ void checkAnnotation(String name, String declaration, |
main() {}"""; |
compileAndCheck(source, 'Foo', (compiler, element) { |
+ compiler.enqueuer.resolution.queueIsClosed = false; |
Expect.equals(0, length(element.metadata)); |
element.ensureResolved(compiler); |
Expect.equals(0, length(element.metadata)); |