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

Unified Diff: site/try/src/compiler_isolate.dart

Issue 1235513004: Fix try/web/end_to_end_test (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: site/try/src/compiler_isolate.dart
diff --git a/site/try/src/compiler_isolate.dart b/site/try/src/compiler_isolate.dart
index b4e0cfcc82984b0cb454ce2468ba51f4b507d233..810de41274f9ffe6373917aed6bfc463611b2de0 100644
--- a/site/try/src/compiler_isolate.dart
+++ b/site/try/src/compiler_isolate.dart
@@ -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,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698