| Index: tests/compiler/dart2js/bad_loop_test.dart
|
| diff --git a/tests/compiler/dart2js/bad_loop_test.dart b/tests/compiler/dart2js/bad_loop_test.dart
|
| index c1b2a6debdf8feae11d23a7b9cdedcae9e5daef1..525aa8ce2efc6e5e813c32c58398d9c23a777685 100644
|
| --- a/tests/compiler/dart2js/bad_loop_test.dart
|
| +++ b/tests/compiler/dart2js/bad_loop_test.dart
|
| @@ -8,7 +8,7 @@ import "package:async_helper/async_helper.dart";
|
|
|
| import 'package:compiler/compiler.dart'
|
| show Diagnostic;
|
| -import 'package:compiler/src/commandline_options.dart';
|
| +import 'package:compiler/compiler_new.dart' show CompilerOptions;
|
| import 'package:compiler/src/old_to_new_api.dart';
|
|
|
| main() {
|
| @@ -37,10 +37,9 @@ main() {
|
| new LegacyCompilerInput(provider.readStringFromUri),
|
| new LegacyCompilerOutput(),
|
| new LegacyCompilerDiagnostics(diagnosticHandler),
|
| - libraryRoot,
|
| - packageRoot,
|
| - [Flags.analyzeOnly],
|
| - {});
|
| + new CompilerOptions(
|
| + libraryRoot: libraryRoot,
|
| + packageRoot: packageRoot));
|
| asyncTest(() => compiler.run(Uri.parse('memory:main.dart')).then((_) {
|
| Expect.isTrue(compiler.compilationFailed);
|
| Expect.equals(5, errorCount);
|
|
|