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

Unified Diff: pkg/compiler/lib/src/patch_parser.dart

Issue 1819053002: Split loader from the rest of the compiler. This adds several abstractions to (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: add environment.dart Created 4 years, 9 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: pkg/compiler/lib/src/patch_parser.dart
diff --git a/pkg/compiler/lib/src/patch_parser.dart b/pkg/compiler/lib/src/patch_parser.dart
index fd747e9e57189806de2819bd4d9e01455e4e63c9..fb2e437048ae709b5bf2282804e6453a7365ad99 100644
--- a/pkg/compiler/lib/src/patch_parser.dart
+++ b/pkg/compiler/lib/src/patch_parser.dart
@@ -172,7 +172,7 @@ class PatchParserTask extends CompilerTask {
*/
Future patchLibrary(LibraryLoader loader,
Uri patchUri, LibraryElement originLibrary) {
- return compiler.readScript(originLibrary, patchUri)
+ return compiler.readScript(patchUri, originLibrary)
.then((Script script) {
var patchLibrary = new LibraryElementX(script, null, originLibrary);
return reporter.withCurrentElement(patchLibrary, () {

Powered by Google App Engine
This is Rietveld 408576698