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

Unified Diff: pkg/front_end/messages.yaml

Issue 2999303002: map fasta error codes to analyzer (Closed)
Patch Set: rebase Created 3 years, 4 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/front_end/lib/src/fasta/fasta_codes_generated.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/messages.yaml
diff --git a/pkg/front_end/messages.yaml b/pkg/front_end/messages.yaml
index 9e5073c1b9fb2855de5666eadfce603970ac5ea0..1199d12c19edffcd6c2ffed7927de55df2c04f6e 100644
--- a/pkg/front_end/messages.yaml
+++ b/pkg/front_end/messages.yaml
@@ -177,7 +177,7 @@ ExpectedType:
ExtraneousModifier:
template: "Can't have modifier '#lexeme' here."
tip: "Try removing '#lexeme'."
- analyzerCode: UNEXPECTED_TOKEN
+ analyzerCode: EXTRANEOUS_MODIFIER
dart2jsCode: EXTRANEOUS_MODIFIER
script:
- "var String foo; main(){}"
@@ -200,6 +200,7 @@ ExtraneousModifier:
- "abstract foo; main(){}"
- "static foo; main(){}"
- "external foo; main(){}"
+ - "class C {abstract C.c();}"
InvalidAwaitFor:
template: "'await' is only supported in methods with an 'async' or 'async*' body modifier."
« 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