| Index: tests/compiler/dart2js/analyze_helper.dart
|
| diff --git a/tests/compiler/dart2js/analyze_helper.dart b/tests/compiler/dart2js/analyze_helper.dart
|
| index 41dc321a00e730b628f69bcc3e03bd43e8251e68..8db5912514bfd9ac590136b4ae6b6483f2195d56 100644
|
| --- a/tests/compiler/dart2js/analyze_helper.dart
|
| +++ b/tests/compiler/dart2js/analyze_helper.dart
|
| @@ -7,6 +7,7 @@ library analyze_helper;
|
| import 'dart:async';
|
| import 'dart:io';
|
| import 'package:compiler/compiler.dart' as api;
|
| +import 'package:compiler/compiler_new.dart' as new_api;
|
| import 'package:compiler/src/apiimpl.dart';
|
| import 'package:compiler/src/commandline_options.dart';
|
| import 'package:compiler/src/diagnostics/messages.dart' show
|
| @@ -194,10 +195,11 @@ Future analyze(List<Uri> uriList,
|
| provider,
|
| null,
|
| handler,
|
| - libraryRoot,
|
| - packageRoot,
|
| - options,
|
| - {});
|
| + new new_api.CompilerOptions.parse(
|
| + libraryRoot: libraryRoot,
|
| + packageRoot: packageRoot,
|
| + options: options,
|
| + environment: {}));
|
| String MESSAGE = """
|
|
|
|
|
|
|