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

Unified Diff: pkg/compiler/lib/src/diagnostics/generated/shared_messages.dart

Issue 1763373002: Support multiple categories per message. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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: pkg/compiler/lib/src/diagnostics/generated/shared_messages.dart
diff --git a/pkg/compiler/lib/src/diagnostics/generated/shared_messages.dart b/pkg/compiler/lib/src/diagnostics/generated/shared_messages.dart
index 13d4c9509a2384f74f6c321661f1ca5b073b2c92..3550e5a00b7845bf30565f610eab620ef00517ac 100644
--- a/pkg/compiler/lib/src/diagnostics/generated/shared_messages.dart
+++ b/pkg/compiler/lib/src/diagnostics/generated/shared_messages.dart
@@ -120,4 +120,19 @@ const Map<MessageKind, MessageTemplate> TEMPLATES = const <MessageKind, MessageT
""",
]
), // Generated. Don't edit.
+ MessageKind.NOT_ASSIGNABLE: const MessageTemplate(
+ MessageKind.NOT_ASSIGNABLE,
+ "'#{fromType}' is not assignable to '#{toType}'." ), // Generated. Don't edit.
+ MessageKind.FORIN_NOT_ASSIGNABLE: const MessageTemplate(
+ MessageKind.FORIN_NOT_ASSIGNABLE,
+ "The element type '#{currentType}' of '#{expressionType}' is not assignable to '#{elementType}'.",
+ examples: const [
+ r"""
+ main() {
+ List<int> list = <int>[1, 2];
+ for (String x in list) x;
+ }
+ """,
+ ]
+ ), // Generated. Don't edit.
};
« no previous file with comments | « pkg/analyzer/lib/src/generated/generated/shared_messages.dart ('k') | pkg/compiler/lib/src/diagnostics/messages.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698