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

Unified Diff: sdk/lib/_internal/compiler/implementation/js_backend/runtime_types.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/js_backend/runtime_types.dart
diff --git a/sdk/lib/_internal/compiler/implementation/js_backend/runtime_types.dart b/sdk/lib/_internal/compiler/implementation/js_backend/runtime_types.dart
index 0f0cb0cc3f9fbcbfdd21b9e0fe0a3459905ffabd..db58f56287c49c0a8183091c35929c5eaf9a45ba 100644
--- a/sdk/lib/_internal/compiler/implementation/js_backend/runtime_types.dart
+++ b/sdk/lib/_internal/compiler/implementation/js_backend/runtime_types.dart
@@ -721,7 +721,8 @@ class TypeRepresentationGenerator extends DartTypeVisitor {
}
visitType(DartType type, _) {
- compiler.internalError('Unexpected type: $type (${type.kind})');
+ compiler.internalError(NO_LOCATION_SPANNABLE,
+ 'Unexpected type: $type (${type.kind}).');
}
}

Powered by Google App Engine
This is Rietveld 408576698