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

Side by Side 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 unified diff | Download patch
OLDNEW
(Empty)
1 /*
2 DON'T EDIT. GENERATED. DON'T EDIT.
3 DON'T EDIT. GENERATED. DON'T EDIT.
4 DON'T EDIT. GENERATED. DON'T EDIT.
5 DON'T EDIT. GENERATED. DON'T EDIT.
6 DON'T EDIT. GENERATED. DON'T EDIT.
7 DON'T EDIT. GENERATED. DON'T EDIT.
8 DON'T EDIT. GENERATED. DON'T EDIT.
9 DON'T EDIT. GENERATED. DON'T EDIT.
10 DON'T EDIT. GENERATED. DON'T EDIT.
11 DON'T EDIT. GENERATED. DON'T EDIT.
12 DON'T EDIT. GENERATED. DON'T EDIT.
13 DON'T EDIT. GENERATED. DON'T EDIT.
14 DON'T EDIT. GENERATED. DON'T EDIT.
15 */
16 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
17 // for details. All rights reserved. Use of this source code is governed by a
18 // BSD-style license that can be found in the LICENSE file.
19 import '../messages.dart' show MessageTemplate;
20
21 enum SharedMessageKind {exampleMessage}
22
23 const Map<SharedMessageKind, MessageTemplate> TEMPLATES = const <SharedMessageKi nd, MessageTemplate>{
24 SharedMessageKind.exampleMessage: const MessageTemplate(SharedMessageKind.exampl eMessage, "#use #named #arguments", howToFix: "an explanation on how to fix thin gs", examples: const ["Some multiline example;\nThat generates the bug.",const { 'fileA.dart':"or a map from file to content.\nagain multiline",'fileB.dart':"wit h possibly multiple files.\nmuliline too",},]),
25 };
OLDNEW
« 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