mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 09:43:08 +00:00
Fix try/web/end_to_end_test
BUG= Review URL: https://codereview.chromium.org//1235513004.
This commit is contained in:
parent
83b2b7125b
commit
a7c64e6f09
1 changed files with 5 additions and 2 deletions
|
@ -13,6 +13,9 @@ import 'compilation.dart' show PRIVATE_SCHEME;
|
|||
|
||||
import 'package:compiler/compiler.dart' as compiler;
|
||||
|
||||
import 'package:compiler/src/old_to_new_api.dart' show
|
||||
LegacyCompilerDiagnostics, LegacyCompilerInput;
|
||||
|
||||
import 'package:dart2js_incremental/dart2js_incremental.dart' show
|
||||
reuseCompiler, OutputProvider;
|
||||
|
||||
|
@ -112,8 +115,8 @@ compile(source, SendPort replyTo) {
|
|||
Stopwatch compilationTimer = new Stopwatch()..start();
|
||||
OutputProvider outputProvider = new OutputProvider();
|
||||
reuseCompiler(
|
||||
diagnosticHandler: handler,
|
||||
inputProvider: inputProvider,
|
||||
diagnosticHandler: new LegacyCompilerDiagnostics(handler),
|
||||
inputProvider: new LegacyCompilerInput(inputProvider),
|
||||
outputProvider: outputProvider,
|
||||
options: options,
|
||||
cachedCompiler: cachedCompiler,
|
||||
|
|
Loading…
Reference in a new issue