| 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*"
|
|
|