Index: lib/compiler/implementation/warnings.dart |
diff --git a/lib/compiler/implementation/warnings.dart b/lib/compiler/implementation/warnings.dart |
index 240fe5874eadd3cc9bebe927428d088d4c658033..a9d02b4d87c2f7c333b955225cb8912a5867ba22 100644 |
--- a/lib/compiler/implementation/warnings.dart |
+++ b/lib/compiler/implementation/warnings.dart |
@@ -298,6 +298,9 @@ Length: #{3}'''); |
"Patch method parameter '#{3}' doesn't match '#{2}' on origin method " |
"#{1}."); |
+ static const CANNOT_ACCESS_TYPE_VARIABLE_IN_STATIC_CONTEXT = |
+ const MessageKind('cannot access type variable #{1} in static context'); |
+ |
static const COMPILER_CRASHED = const MessageKind( |
"Error: The compiler crashed when compiling this element."); |