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

Unified Diff: tests/compiler/dart2js/mock_compiler.dart

Issue 1235563003: Add interfaces for a new compiler API. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Rebased 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 | « tests/compiler/dart2js/missing_file_test.dart ('k') | tests/compiler/dart2js/output_collector.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/mock_compiler.dart
diff --git a/tests/compiler/dart2js/mock_compiler.dart b/tests/compiler/dart2js/mock_compiler.dart
index 3d879dfc9cc15a0b6799f869856fbe05d5150784..3284514de537b874d176ae13e21743ab7d2dc9cb 100644
--- a/tests/compiler/dart2js/mock_compiler.dart
+++ b/tests/compiler/dart2js/mock_compiler.dart
@@ -16,6 +16,7 @@ import 'package:compiler/src/js_backend/js_backend.dart'
import 'package:compiler/src/resolution/resolution.dart';
import 'package:compiler/src/io/source_file.dart';
import 'package:compiler/src/tree/tree.dart';
+import 'package:compiler/src/old_to_new_api.dart';
import 'package:compiler/src/util/util.dart';
import 'parser_helper.dart';
@@ -93,7 +94,7 @@ class MockCompiler extends Compiler {
preserveComments: preserveComments,
trustTypeAnnotations: trustTypeAnnotations,
showPackageWarnings: true,
- outputProvider: outputProvider) {
+ outputProvider: new LegacyCompilerOutput(outputProvider)) {
this.disableInlining = disableInlining;
deferredLoadTask = new MockDeferredLoadTask(this);
« no previous file with comments | « tests/compiler/dart2js/missing_file_test.dart ('k') | tests/compiler/dart2js/output_collector.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698