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

Side by Side Diff: pkg/front_end/messages.yaml

Issue 2955453002: improve fasta parser export declaration recovery (Closed)
Patch Set: Created 3 years, 6 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) 2017, the Dart project authors. Please see the AUTHORS file 1 # Copyright (c) 2017, 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 # Each entry in this map corresponds to a diagnostic message. Ideally, each 5 # Each entry in this map corresponds to a diagnostic message. Ideally, each
6 # entry contains three parts: 6 # entry contains three parts:
7 # 7 #
8 # 1. A message template (template). 8 # 1. A message template (template).
9 # 9 #
10 # 2. A suggestion for how to correct the problem (tip). 10 # 2. A suggestion for how to correct the problem (tip).
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 tip: "Try using a different name." 135 tip: "Try using a different name."
136 dart2jsCode: EXPECTED_IDENTIFIER 136 dart2jsCode: EXPECTED_IDENTIFIER
137 script: "do() {} main() {}" 137 script: "do() {} main() {}"
138 138
139 ExpectedOpenParens: 139 ExpectedOpenParens:
140 template: "Expected '('." 140 template: "Expected '('."
141 dart2jsCode: GENERIC 141 dart2jsCode: GENERIC
142 142
143 ExpectedString: 143 ExpectedString:
144 template: "Expected a String, but got '#lexeme'." 144 template: "Expected a String, but got '#lexeme'."
145 analyzerCode: EXPECTED_STRING_LITERAL
145 dart2jsCode: FASTA_FATAL 146 dart2jsCode: FASTA_FATAL
146 147
147 ExpectedType: 148 ExpectedType:
148 template: "Expected a type, but got '#lexeme'." 149 template: "Expected a type, but got '#lexeme'."
149 dart2jsCode: FASTA_FATAL 150 dart2jsCode: FASTA_FATAL
150 151
151 ExtraneousModifier: 152 ExtraneousModifier:
152 template: "Can't have modifier '#lexeme' here." 153 template: "Can't have modifier '#lexeme' here."
153 tip: "Try removing '#lexeme'." 154 tip: "Try removing '#lexeme'."
154 dart2jsCode: EXTRANEOUS_MODIFIER 155 dart2jsCode: EXTRANEOUS_MODIFIER
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 dart2jsCode: FASTA_IGNORED 443 dart2jsCode: FASTA_IGNORED
443 444
444 FinalFieldWithoutInitializer: 445 FinalFieldWithoutInitializer:
445 template: "A 'final' field must be initialized." 446 template: "A 'final' field must be initialized."
446 tip: "Try adding '= <initializer>'." 447 tip: "Try adding '= <initializer>'."
447 dart2jsCode: FASTA_IGNORED 448 dart2jsCode: FASTA_IGNORED
448 449
449 MetadataTypeArguments: 450 MetadataTypeArguments:
450 template: "An annotation (metadata) can't use type arguments." 451 template: "An annotation (metadata) can't use type arguments."
451 dart2jsCode: FASTA_IGNORED 452 dart2jsCode: FASTA_IGNORED
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698