Index: sdk/lib/_internal/compiler/implementation/warnings.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/warnings.dart b/sdk/lib/_internal/compiler/implementation/warnings.dart |
index 8cef76fbfc30e67ba7e4dda467e676eae8bccd91..0b33526621d019b5eb476d8fb2fd61344d3807c3 100644 |
--- a/sdk/lib/_internal/compiler/implementation/warnings.dart |
+++ b/sdk/lib/_internal/compiler/implementation/warnings.dart |
@@ -556,8 +556,9 @@ main() => new C<String>(); |
static const MessageKind CONSTRUCTOR_IS_NOT_CONST = const MessageKind( |
"Constructor is not a 'const' constructor."); |
- static const MessageKind KEY_NOT_A_STRING_LITERAL = const MessageKind( |
- "Map-literal key not a string literal."); |
+ static const MessageKind CONST_MAP_KEY_OVERRIDES_EQUALS = |
+ const MessageKind( |
+ "Const-map key type '#{type}' overrides 'operator =='."); |
static const MessageKind NO_SUCH_LIBRARY_MEMBER = const MessageKind( |
"'#{libraryName}' has no member named '#{memberName}'."); |