Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(600)

Unified Diff: tests/compiler/dart2js/patch_test.dart

Issue 10990060: Added support for exports and re-exports. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Status updated. Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/compiler/dart2js/patch_test.dart
diff --git a/tests/compiler/dart2js/patch_test.dart b/tests/compiler/dart2js/patch_test.dart
index b0bc1096a44fae19eb1e6ee3e97d06be4bdad5ad..1e294c13f852b875725ca0c3ee114d78b2e19d23 100644
--- a/tests/compiler/dart2js/patch_test.dart
+++ b/tests/compiler/dart2js/patch_test.dart
@@ -15,7 +15,9 @@ Compiler applyPatch(String script, String patch) {
MockCompiler compiler = new MockCompiler(coreSource: core);
var uri = new Uri("core.dartp");
compiler.sourceFiles[uri.toString()] = new MockFile(patch);
- compiler.patchParser.patchLibrary(uri, compiler.coreLibrary);
+ var handler = new LibraryDependencyHandler(compiler);
+ compiler.patchParser.patchLibrary(handler, uri, compiler.coreLibrary);
+ handler.computeExports();
return compiler;
}

Powered by Google App Engine
This is Rietveld 408576698