Index: lib/compiler/implementation/warnings.dart |
diff --git a/lib/compiler/implementation/warnings.dart b/lib/compiler/implementation/warnings.dart |
index 3c0ec5300aa8bd1231f8a0cefca979b9b3e21b78..fe29c49c2b3d8d7da1e7af333e42ba5572c1225e 100644 |
--- a/lib/compiler/implementation/warnings.dart |
+++ b/lib/compiler/implementation/warnings.dart |
@@ -256,6 +256,9 @@ class MessageKind { |
static const VOID_NOT_ALLOWED = const MessageKind( |
'type void is only allowed in a return type.'); |
+ static const CANNOT_ACCESS_TYPE_VARIABLE_IN_STATIC_CONTEXT = |
+ const MessageKind( 'cannot access type variable #{1} in static context'); |
+ |
static const INVALID_SOURCE_FILE_LOCATION = const MessageKind(''' |
Invalid offset (#{1}) in source map. |
File: #{2} |