Index: tests/compiler/dart2js/mock_compiler.dart |
diff --git a/tests/compiler/dart2js/mock_compiler.dart b/tests/compiler/dart2js/mock_compiler.dart |
index 4acd9a2273c5167c0cc1607a4f3b7dbe6733e2f6..f028c330e9a37b2bde4d2d109ce6a0c277533119 100644 |
--- a/tests/compiler/dart2js/mock_compiler.dart |
+++ b/tests/compiler/dart2js/mock_compiler.dart |
@@ -467,6 +467,7 @@ LibraryElement mockLibrary(Compiler compiler, String source) { |
Uri uri = new Uri(scheme: "source"); |
var library = new LibraryElementX(new Script(uri, new MockFile(source))); |
importLibrary(library, compiler.coreLibrary, compiler); |
+ library.setExports(<Element>[]); |
return library; |
} |