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

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

Issue 848003002: Remove CompilerCancelledException. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Merged with r42861 Created 5 years, 11 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
Index: dart/tests/compiler/dart2js/exit_code_test.dart
diff --git a/dart/tests/compiler/dart2js/exit_code_test.dart b/dart/tests/compiler/dart2js/exit_code_test.dart
index 3bf7efe541f6651a50073f8bee6962c3a2a9d29b..b70fe4ab17df4b862cee7950a397c6e96688e4fa 100644
--- a/dart/tests/compiler/dart2js/exit_code_test.dart
+++ b/dart/tests/compiler/dart2js/exit_code_test.dart
@@ -2,8 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-// Test the exit code of dart2js in case of exceptions, fatal errors, errors,
-// warnings, etc.
+// Test the exit code of dart2js in case of exceptions, errors, warnings, etc.
import 'dart:async';
@@ -97,12 +96,6 @@ class TestCompiler extends apiimpl.Compiler {
reportError(NO_LOCATION_SPANNABLE,
MessageKind.GENERIC, {'text': marker});
break;
- case 'fatalError':
- onTest(testMarker, testType);
- reportError(NO_LOCATION_SPANNABLE,
- MessageKind.GENERIC, {'text': marker});
- throw new CompilerCancelledException(null);
- break;
case 'internalError':
onTest(testMarker, testType);
internalError(NO_LOCATION_SPANNABLE, marker);
@@ -235,7 +228,6 @@ void main() {
'invariant': 253,
'warning': 0,
'error': 1,
- 'fatalError': 1,
'internalError': 253,
};
« no previous file with comments | « dart/pkg/dart2js_incremental/lib/dart2js_incremental.dart ('k') | dart/tests/compiler/dart2js/incremental/compile_all.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698