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..4cfa9426c8a1fa3a284b3857e780cc8c186a5661 |
--- /dev/null |
+++ b/pkg/compiler/lib/src/diagnostics/generated/shared_messages.dart |
@@ -0,0 +1,36 @@ |
+/* |
+DON'T EDIT. GENERATED. DON'T EDIT. |
+This file has been generated by 'publish.dart' in the dart_messages package. |
+ |
+Messages are maintained in `lib/shared_messages.dart` of that same package. |
+After any change to that file, run `bin/publish.dart` to generate a new version |
+of the json, dart2js and analyzer representations. |
+*/ |
+// 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", |
+ examples: const [ |
+ r''' |
+ Some multiline example; |
+ That generates the bug.''', |
+ const { |
+ 'fileA.dart': r''' |
+ or a map from file to content. |
+ again multiline''', |
+ 'fileB.dart': r''' |
+ with possibly multiple files. |
+ muliline too''', |
+ }, |
+ ] |
+ ), // Generated. Don't edit. |
+}; |