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

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

Issue 1582903003: Generate dart2js and analyzer files for shared messages. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: remove dead code and add todo instead. Created 4 years, 11 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
« no previous file with comments | « no previous file | pkg/compiler/lib/src/diagnostics/messages.dart » ('j') | pkg/dart_messages/bin/publish.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
new file mode 100644
index 0000000000000000000000000000000000000000..f3431bd3ef7e475bbdafad1cc36e9e28ba49a254
--- /dev/null
+++ b/pkg/compiler/lib/src/diagnostics/generated/shared_messages.dart
@@ -0,0 +1,25 @@
+/*
+DON'T EDIT. GENERATED. DON'T EDIT.
+DON'T EDIT. GENERATED. DON'T EDIT.
+DON'T EDIT. GENERATED. DON'T EDIT.
+DON'T EDIT. GENERATED. DON'T EDIT.
+DON'T EDIT. GENERATED. DON'T EDIT.
+DON'T EDIT. GENERATED. DON'T EDIT.
+DON'T EDIT. GENERATED. DON'T EDIT.
+DON'T EDIT. GENERATED. DON'T EDIT.
+DON'T EDIT. GENERATED. DON'T EDIT.
+DON'T EDIT. GENERATED. DON'T EDIT.
+DON'T EDIT. GENERATED. DON'T EDIT.
+DON'T EDIT. GENERATED. DON'T EDIT.
+DON'T EDIT. GENERATED. DON'T EDIT.
+*/
+// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+import '../messages.dart' show MessageTemplate;
+
+enum SharedMessageKind {exampleMessage}
+
+const Map<SharedMessageKind, MessageTemplate> TEMPLATES = const <SharedMessageKind, MessageTemplate>{
+SharedMessageKind.exampleMessage: const MessageTemplate(SharedMessageKind.exampleMessage, "#use #named #arguments", howToFix: "an explanation on how to fix things", examples: const ["Some multiline example;\nThat generates the bug.",const {'fileA.dart':"or a map from file to content.\nagain multiline",'fileB.dart':"with possibly multiple files.\nmuliline too",},]),
+};
« no previous file with comments | « no previous file | pkg/compiler/lib/src/diagnostics/messages.dart » ('j') | pkg/dart_messages/bin/publish.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698