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

Unified Diff: dart/pkg/compiler/lib/src/use_unused_api.dart

Issue 808953004: Recover from fatal parser errors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Merged with r42860. 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
« no previous file with comments | « dart/pkg/compiler/lib/src/scanner/scanner_task.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/pkg/compiler/lib/src/use_unused_api.dart
diff --git a/dart/pkg/compiler/lib/src/use_unused_api.dart b/dart/pkg/compiler/lib/src/use_unused_api.dart
index 359aa9bc3c8550dbb23f12b98429c88f7f8b84fb..b481bc5009475f839c3735adbd9301c070e504b7 100644
--- a/dart/pkg/compiler/lib/src/use_unused_api.dart
+++ b/dart/pkg/compiler/lib/src/use_unused_api.dart
@@ -41,6 +41,7 @@ class ElementVisitor extends elements_visitor.ElementVisitor {
}
void main(List<String> arguments) {
+ new dart2jslib.CompilerCancelledException(null);
useApi();
dart2js.main(arguments);
useConstant(null, null);
« no previous file with comments | « dart/pkg/compiler/lib/src/scanner/scanner_task.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698