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

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

Issue 2944383002: translate fasta parser error to analyzer error (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
« no previous file with comments | « pkg/front_end/lib/src/fasta/fasta_codes_generated.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 AwaitAsIdentifier: 341 AwaitAsIdentifier:
342 template: "'await' can't be used as an identifier in 'async', 'async*', or 'sy nc*' methods." 342 template: "'await' can't be used as an identifier in 'async', 'async*', or 'sy nc*' methods."
343 dart2jsCode: FASTA_IGNORED 343 dart2jsCode: FASTA_IGNORED
344 344
345 AwaitNotAsync: 345 AwaitNotAsync:
346 template: "'await' can only be used in 'async' or 'async*' methods." 346 template: "'await' can only be used in 'async' or 'async*' methods."
347 dart2jsCode: FASTA_IGNORED 347 dart2jsCode: FASTA_IGNORED
348 348
349 BuiltInIdentifierAsType: 349 BuiltInIdentifierAsType:
350 template: "Can't use '#lexeme' as a type." 350 template: "Can't use '#lexeme' as a type."
351 analyzerCode: EXPECTED_TYPE_NAME
351 dart2jsCode: EXTRANEOUS_MODIFIER 352 dart2jsCode: EXTRANEOUS_MODIFIER
352 353
353 BuiltInIdentifierInDeclaration: 354 BuiltInIdentifierInDeclaration:
354 template: "Can't use '#lexeme' as a name here." 355 template: "Can't use '#lexeme' as a name here."
355 dart2jsCode: GENERIC 356 dart2jsCode: GENERIC
356 357
357 AwaitForNotAsync: 358 AwaitForNotAsync:
358 template: "Asynchronous for-loop can only be used in 'async' or 'async*' metho ds." 359 template: "Asynchronous for-loop can only be used in 'async' or 'async*' metho ds."
359 dart2jsCode: FASTA_IGNORED 360 dart2jsCode: FASTA_IGNORED
360 361
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 dart2jsCode: FASTA_IGNORED 442 dart2jsCode: FASTA_IGNORED
442 443
443 FinalFieldWithoutInitializer: 444 FinalFieldWithoutInitializer:
444 template: "A 'final' field must be initialized." 445 template: "A 'final' field must be initialized."
445 tip: "Try adding '= <initializer>'." 446 tip: "Try adding '= <initializer>'."
446 dart2jsCode: FASTA_IGNORED 447 dart2jsCode: FASTA_IGNORED
447 448
448 MetadataTypeArguments: 449 MetadataTypeArguments:
449 template: "An annotation (metadata) can't use type arguments." 450 template: "An annotation (metadata) can't use type arguments."
450 dart2jsCode: FASTA_IGNORED 451 dart2jsCode: FASTA_IGNORED
OLDNEW
« no previous file with comments | « pkg/front_end/lib/src/fasta/fasta_codes_generated.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698