Chromium Code Reviews| Index: pkg/front_end/messages.yaml |
| diff --git a/pkg/front_end/messages.yaml b/pkg/front_end/messages.yaml |
| index d1c4ac3ba1fac907536c6cce2490aebb735baecf..e9348b080286b7217563fb462db1151e04540c90 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('some-text-here') before the declaration." |
|
ahe
2017/08/21 12:04:11
'some-text-here' -> 'native name'.
danrubel
2017/08/22 01:35:28
Fixed.
|
| + analyzerCode: NATIVE_CLAUSE_SHOULD_BE_ANNOTATION |
| + dart2jsCode: "*fatal*" |
| + |
| ReturnTypeFunctionExpression: |
| template: "A function expression can't have a return type." |
| dart2jsCode: "*ignored*" |