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

Unified Diff: pkg/front_end/messages.yaml

Issue 2996163002: support class native clause (Closed)
Patch Set: update DietListener and test 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/source/outline_builder.dart ('k') | pkg/front_end/tool/fasta_perf.dart » ('j') | 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 d1c4ac3ba1fac907536c6cce2490aebb735baecf..a6a52f5c9b85ab54902c485dc51ef4d2ebfa3488 100644
--- a/pkg/front_end/messages.yaml
+++ b/pkg/front_end/messages.yaml
@@ -580,6 +580,12 @@ NamedFunctionExpression:
template: "A function expression can't have a name."
dart2jsCode: "*ignored*"
+NativeClauseShouldBeAnnotation:
+ template: "Native clause in this form is deprecated."
+ tip: "Try removing this native clause and adding @native() or @native('native-name') before the declaration."
+ analyzerCode: NATIVE_CLAUSE_SHOULD_BE_ANNOTATION
+ dart2jsCode: "*fatal*"
+
ReturnTypeFunctionExpression:
template: "A function expression can't have a return type."
dart2jsCode: "*ignored*"
« no previous file with comments | « pkg/front_end/lib/src/fasta/source/outline_builder.dart ('k') | pkg/front_end/tool/fasta_perf.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698