| Index: tests/compiler/dart2js/analyze_only_test.dart
|
| diff --git a/tests/compiler/dart2js/analyze_only_test.dart b/tests/compiler/dart2js/analyze_only_test.dart
|
| index 394fe0d1749639553c9eceea6531c91fe721fb2f..c17bfe94993f130a00016adab6d92f8781a81f3d 100644
|
| --- a/tests/compiler/dart2js/analyze_only_test.dart
|
| +++ b/tests/compiler/dart2js/analyze_only_test.dart
|
| @@ -42,7 +42,7 @@ runCompiler(String main, List<String> options,
|
| localProvider, localHandler, options);
|
| result.then((String code) {
|
| onValue(code, errors, warnings);
|
| - }, onError: (AsyncError e) {
|
| + }, onError: (e) {
|
| throw 'Compilation failed';
|
| });
|
| }
|
|
|