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

Unified Diff: lib/compiler/implementation/patch_parser.dart

Issue 10967068: Stop importing js_helper.dart explicitly in the core library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merged to tip-of-tree. 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: lib/compiler/implementation/patch_parser.dart
diff --git a/lib/compiler/implementation/patch_parser.dart b/lib/compiler/implementation/patch_parser.dart
index 8e31e05162d8998ff459dcd50aa456a7c10b3d3e..f400c869e6c92c2149f4a740317a885f1ed132a4 100644
--- a/lib/compiler/implementation/patch_parser.dart
+++ b/lib/compiler/implementation/patch_parser.dart
@@ -143,6 +143,7 @@ class PatchParserTask extends leg.CompilerTask {
// After scanning declarations, we handle the import tags in the patch.
// TODO(lrn): These imports end up in the original library and are in
// scope for the original methods too. This should be fixed.
+ compiler.importHelperLibrary(originLibrary);
for (tree.LibraryTag tag in imports.toLink()) {
compiler.scanner.importLibraryFromTag(tag,
patchLibrary.entryCompilationUnit);
« no previous file with comments | « lib/compiler/implementation/lib/math_patch.dart ('k') | lib/compiler/implementation/scanner/scanner_task.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698