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

Unified Diff: sdk/lib/_internal/compiler/implementation/dump_info.dart

Issue 206193002: Remove cancel and make crash exit with code 253. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments. Created 6 years, 9 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: sdk/lib/_internal/compiler/implementation/dump_info.dart
diff --git a/sdk/lib/_internal/compiler/implementation/dump_info.dart b/sdk/lib/_internal/compiler/implementation/dump_info.dart
index 29f0ace02589c5540067aac84238dd3b628bd2a3..988dbb95cf6f112c6f2d1b65993abfc2620cfb7d 100644
--- a/sdk/lib/_internal/compiler/implementation/dump_info.dart
+++ b/sdk/lib/_internal/compiler/implementation/dump_info.dart
@@ -235,9 +235,9 @@ class InfoDumpVisitor extends ElementVisitor<InfoNode> {
InfoDumpVisitor(Compiler this.compiler);
InfoNode visitElement(Element element) {
- compiler.internalError("This element of kind ${element.kind} "
- "does not support --dump-info",
- token: element.position());
+ compiler.internalError(element,
+ "This element of kind ${element.kind} "
+ "does not support --dump-info");
return null;
}

Powered by Google App Engine
This is Rietveld 408576698