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

Unified Diff: lib/compiler/implementation/scanner/scanner_task.dart

Issue 10689038: Revert "First step towards having patch files for generic libraries." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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
« no previous file with comments | « lib/compiler/implementation/scanner/listener.dart ('k') | lib/compiler/implementation/source_file.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/scanner/scanner_task.dart
diff --git a/lib/compiler/implementation/scanner/scanner_task.dart b/lib/compiler/implementation/scanner/scanner_task.dart
index 3d7b3cdec94d2579294bb052d7277a1f093c815e..178a4798f801734249b3d618941aba4be2bbab96 100644
--- a/lib/compiler/implementation/scanner/scanner_task.dart
+++ b/lib/compiler/implementation/scanner/scanner_task.dart
@@ -80,11 +80,7 @@ class ScannerTask extends CompilerTask {
if (resolved.toString() == "dart:core") {
implicitlyImportCoreLibrary = false;
}
- LibraryElement importedLibrary = loadLibrary(resolved, argument);
- importLibrary(library, importedLibrary, tag);
- if (resolved.scheme == "dart") {
- compiler.patchDartLibrary(importedLibrary, resolved.path);
- }
+ importLibrary(library, loadLibrary(resolved, argument), tag);
}
if (implicitlyImportCoreLibrary) {
importLibrary(library, compiler.coreLibrary, null);
« no previous file with comments | « lib/compiler/implementation/scanner/listener.dart ('k') | lib/compiler/implementation/source_file.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698