Index: pkg/front_end/lib/src/incremental_kernel_generator_impl.dart |
diff --git a/pkg/front_end/lib/src/incremental_kernel_generator_impl.dart b/pkg/front_end/lib/src/incremental_kernel_generator_impl.dart |
index efd4ddd002330151ea1545936fbde1c0a366c775..49e3d8577a9c0a1c77f9fcc93caa3144a0eb2268 100644 |
--- a/pkg/front_end/lib/src/incremental_kernel_generator_impl.dart |
+++ b/pkg/front_end/lib/src/incremental_kernel_generator_impl.dart |
@@ -17,7 +17,6 @@ import 'package:front_end/src/base/source.dart'; |
import 'package:front_end/src/incremental_resolved_ast_generator_impl.dart'; |
import 'package:kernel/analyzer/loader.dart'; |
import 'package:kernel/kernel.dart' hide Source; |
-import 'package:kernel/repository.dart'; |
dynamic unimplemented() { |
// TODO(paulberry): get rid of this. |
@@ -72,11 +71,11 @@ class IncrementalKernelGeneratorImpl implements IncrementalKernelGenerator { |
var analysisOptions = new _AnalysisOptionsProxy(strongMode); |
var context = |
new _AnalysisContextProxy(deltaLibraries.newState, analysisOptions); |
- var repository = new Repository(); |
+ var program = new Program(); |
var loader = |
- new DartLoader(repository, kernelOptions, packages, context: context); |
+ new DartLoader(program, kernelOptions, packages, context: context); |
loader.loadLibrary(uri); |
- kernels[uri] = new Program(repository.libraries); |
+ kernels[uri] = program; |
// TODO(paulberry) rework watch invocation to eliminate race condition, |
// include part source files, and prevent watch from being a bottleneck |
if (watch != null) await watch(uri, true); |