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

Unified Diff: pkg/front_end/messages.yaml

Issue 2968093003: Improve parsing of function expressions. (Closed)
Patch Set: Created 3 years, 5 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
Index: pkg/front_end/messages.yaml
diff --git a/pkg/front_end/messages.yaml b/pkg/front_end/messages.yaml
index 544d41771809911f31d4354e4e9960a4bdcffb9a..775935d83f3df069c639cbd73759dc1f5af81798 100644
--- a/pkg/front_end/messages.yaml
+++ b/pkg/front_end/messages.yaml
@@ -457,3 +457,11 @@ FinalFieldWithoutInitializer:
MetadataTypeArguments:
template: "An annotation (metadata) can't use type arguments."
dart2jsCode: "*ignored*"
+
+NamedFunctionExpression:
+ template: "A function expression can't have a name."
+ dart2jsCode: "*ignored*"
+
+ReturnTypeFunctionExpression:
+ template: "A function expression can't have a return type."
+ dart2jsCode: "*ignored*"

Powered by Google App Engine
This is Rietveld 408576698