| Index: pkg/dev_compiler/test/codegen_test.dart
|
| diff --git a/pkg/dev_compiler/test/codegen_test.dart b/pkg/dev_compiler/test/codegen_test.dart
|
| index 2e1d7be68c3e038aad03b022ff9087e64e0c6de7..5e5e98b5dbe4b696196baf6f01e69121690d79fb 100644
|
| --- a/pkg/dev_compiler/test/codegen_test.dart
|
| +++ b/pkg/dev_compiler/test/codegen_test.dart
|
| @@ -156,21 +156,16 @@ main(List<String> arguments) {
|
| compiler = new ModuleCompiler(analyzerOptions);
|
| }
|
| JSModuleFile module = null;
|
| - var error, trace;
|
| try {
|
| module = compiler.compile(unit, options);
|
| - } catch (e, t) {
|
| - error = e;
|
| - trace = t;
|
| - }
|
| + } catch (e) {}
|
|
|
| bool notStrong = notYetStrongTests.contains(name);
|
| bool crashing = _crashingTests.contains(name);
|
|
|
| if (module == null) {
|
| expect(crashing, isTrue,
|
| - reason: "test $name crashes during compilation.\n\n"
|
| - "Exception: $error\n\nStack trace:\n\n$trace");
|
| + reason: "test $name crashes during compilation.");
|
| } else if (module.isValid) {
|
| _writeModule(
|
| path.join(codegenOutputDir, name),
|
|
|