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

Unified Diff: pkg/compiler/lib/src/kernel/task.dart

Issue 2874723002: Add a way to use shared CanonicalName root to deserialize Program. (Closed)
Patch Set: Add TODO for 'uriToSource'. Created 3 years, 7 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/kernel/task.dart
diff --git a/pkg/compiler/lib/src/kernel/task.dart b/pkg/compiler/lib/src/kernel/task.dart
index 6b0cfdbdbe747eeffc34d6b7e9c097931102084a..6b140df199f848449eba33cec0a0234cfc8060c8 100644
--- a/pkg/compiler/lib/src/kernel/task.dart
+++ b/pkg/compiler/lib/src/kernel/task.dart
@@ -41,7 +41,8 @@ class KernelTask extends CompilerTask {
if (main == null) {
main = _compiler.backend.helperForMissingMain();
}
- return new ir.Program(kernel.libraryDependencies(library.canonicalUri))
+ return new ir.Program(
+ libraries: kernel.libraryDependencies(library.canonicalUri))
sra1 2017/05/12 23:07:45 This turned one of the dart2js bots red. NoSuchMe
..mainMethod = kernel.functionToIr(main);
}
}

Powered by Google App Engine
This is Rietveld 408576698