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); |
} |
} |