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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 /* 4 /*
5 DON'T EDIT. GENERATED. DON'T EDIT. 5 DON'T EDIT. GENERATED. DON'T EDIT.
6 This file has been generated by 'publish.dart' in the dart_messages package. 6 This file has been generated by 'publish.dart' in the dart_messages package.
7 7
8 Messages are maintained in `lib/shared_messages.dart` of that same package. 8 Messages are maintained in `lib/shared_messages.dart` of that same package.
9 After any change to that file, run `bin/publish.dart` to generate a new version 9 After any change to that file, run `bin/publish.dart` to generate a new version
10 of the json, dart2js and analyzer representations. 10 of the json, dart2js and analyzer representations.
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 r""" 113 r"""
114 foo() async* { return 0; } 114 foo() async* { return 0; }
115 main() => foo(); 115 main() => foo();
116 """, 116 """,
117 r""" 117 r"""
118 foo() sync* { return 0; } 118 foo() sync* { return 0; }
119 main() => foo(); 119 main() => foo();
120 """, 120 """,
121 ] 121 ]
122 ), // Generated. Don't edit. 122 ), // Generated. Don't edit.
123 MessageKind.NOT_ASSIGNABLE: const MessageTemplate(
124 MessageKind.NOT_ASSIGNABLE,
125 "'#{fromType}' is not assignable to '#{toType}'." ), // Generated. Don't e dit.
126 MessageKind.FORIN_NOT_ASSIGNABLE: const MessageTemplate(
127 MessageKind.FORIN_NOT_ASSIGNABLE,
128 "The element type '#{currentType}' of '#{expressionType}' is not assignable to '#{elementType}'.",
129 examples: const [
130 r"""
131 main() {
132 List<int> list = <int>[1, 2];
133 for (String x in list) x;
134 }
135 """,
136 ]
137 ), // Generated. Don't edit.
123 }; 138 };
OLDNEW
« 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