Chromium Code Reviews| Index: dart/tests/compiler/dart2js/mock_compiler.dart |
| =================================================================== |
| --- dart/tests/compiler/dart2js/mock_compiler.dart (revision 29808) |
| +++ dart/tests/compiler/dart2js/mock_compiler.dart (working copy) |
| @@ -467,6 +467,7 @@ |
| 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; |
| } |