Index: pkg/compiler/lib/src/warnings.dart |
diff --git a/pkg/compiler/lib/src/warnings.dart b/pkg/compiler/lib/src/warnings.dart |
index 8977b5d9220dfd3a363dbf728a4cec8f805dcfaa..a9adcf33fd5a139028a1dbb5bcbaab06a09234bc 100644 |
--- a/pkg/compiler/lib/src/warnings.dart |
+++ b/pkg/compiler/lib/src/warnings.dart |
@@ -167,6 +167,9 @@ main() => new A().m(); |
static const MessageKind NO_INSTANCE_AVAILABLE = const MessageKind( |
"'#{name}' is only available in instance methods."); |
+ static const MessageKind NO_SUPER_AVAILABLE = const MessageKind( |
+ "'super' is only available in instance methods."); |
+ |
static const MessageKind PRIVATE_ACCESS = const MessageKind( |
"'#{name}' is declared private within library " |
"'#{libraryName}'."); |