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

Unified Diff: frog/leg/warnings.dart

Issue 9166010: Implement super calls. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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: frog/leg/warnings.dart
diff --git a/frog/leg/warnings.dart b/frog/leg/warnings.dart
index 99553a7782c09e265a337bdf39ef49945f32f510..48b310319be7eb973498b3ffda5857ed3897f41d 100644
--- a/frog/leg/warnings.dart
+++ b/frog/leg/warnings.dart
@@ -50,6 +50,8 @@ class MessageKind {
'field initializer expected');
static final NO_THIS_IN_STATIC = const MessageKind(
'\'this\' is only available in instance methods');
+ static final NO_SUPER_IN_STATIC = const MessageKind(
+ '\'super\' is only available in instance methods');
static final DUPLICATE_INITIALIZER = const MessageKind(
'field #{1} is initialized more than once');
static final ALREADY_INITIALIZED = const MessageKind(

Powered by Google App Engine
This is Rietveld 408576698