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

Unified Diff: pkg/front_end/lib/src/fasta/fasta_codes_generated.dart

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer/test/generated/parser_test.dart ('k') | pkg/front_end/messages.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/src/fasta/fasta_codes_generated.dart
diff --git a/pkg/front_end/lib/src/fasta/fasta_codes_generated.dart b/pkg/front_end/lib/src/fasta/fasta_codes_generated.dart
index 02aaba95f584d11771324e11845e85d733a3abc7..853a54056e199fdd1070a6745bba31909944037f 100644
--- a/pkg/front_end/lib/src/fasta/fasta_codes_generated.dart
+++ b/pkg/front_end/lib/src/fasta/fasta_codes_generated.dart
@@ -1053,6 +1053,7 @@ FastaMessage _formatInvalidVoid(Uri uri, int charOffset) {
const FastaCode<_BuiltInIdentifierAsType> codeBuiltInIdentifierAsType =
const FastaCode<_BuiltInIdentifierAsType>("BuiltInIdentifierAsType",
template: r"Can't use '#lexeme' as a type.",
+ analyzerCode: "EXPECTED_TYPE_NAME",
dart2jsCode: "EXTRANEOUS_MODIFIER",
format: _formatBuiltInIdentifierAsType);
« no previous file with comments | « pkg/analyzer/test/generated/parser_test.dart ('k') | pkg/front_end/messages.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698