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

Unified Diff: sdk/lib/_internal/compiler/implementation/scanner/class_element_parser.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/scanner/class_element_parser.dart
diff --git a/sdk/lib/_internal/compiler/implementation/scanner/class_element_parser.dart b/sdk/lib/_internal/compiler/implementation/scanner/class_element_parser.dart
index 75fe874ea381f95ba55d49babdcb05a0ed8a8737..7e6a81bc254165d14ec270d58772dae5dc252bd6 100644
--- a/sdk/lib/_internal/compiler/implementation/scanner/class_element_parser.dart
+++ b/sdk/lib/_internal/compiler/implementation/scanner/class_element_parser.dart
@@ -124,7 +124,7 @@ class MemberListener extends NodeListener {
ElementKind kind = ElementKind.FUNCTION;
if (isConstructor) {
if (getOrSet != null) {
- recoverableError('illegal modifier', token: getOrSet);
+ recoverableError(getOrSet, 'illegal modifier');
}
kind = ElementKind.GENERATIVE_CONSTRUCTOR;
} else if (getOrSet != null) {

Powered by Google App Engine
This is Rietveld 408576698