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

Unified Diff: dart/tests/compiler/dart2js/mock_compiler.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/mock_compiler.dart
diff --git a/dart/tests/compiler/dart2js/mock_compiler.dart b/dart/tests/compiler/dart2js/mock_compiler.dart
index 136ac760fdc9dce4b013ec51734fd5299d1e4537..0c6fa8eb456a4392ddcf7d6569be573ed21b6b86 100644
--- a/dart/tests/compiler/dart2js/mock_compiler.dart
+++ b/dart/tests/compiler/dart2js/mock_compiler.dart
@@ -212,14 +212,7 @@ class MockCompiler extends Compiler {
if (visitor.scope is LibraryScope) {
visitor.scope = new MethodScope(visitor.scope, element);
}
- try {
- visitor.visit(tree);
- } on CompilerCancelledException catch (_) {
- // Ignored.
-
- // TODO(ahe): Don't ignore CompilerCancelledException, instead, fix
- // pkg/compiler/lib/src/resolution/members.dart.
- }
+ visitor.visit(tree);
visitor.scope = new LibraryScope(element.library);
return visitor.registry.mapping;
}
« no previous file with comments | « dart/tests/compiler/dart2js/message_kind_helper.dart ('k') | dart/tests/compiler/dart2js/parser_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698