mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 11:42:11 +00:00
Add missing import prefix to FUNCTION
This is a commit that should have been part of 340181. Change-Id: Ic87c9d4975f0b9504395e6bfdac9b3c22fbcddd6 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/340082 Reviewed-by: William Hesse <whesse@google.com> Commit-Queue: Erik Ernst <eernst@google.com>
This commit is contained in:
parent
f5743b9f44
commit
be64653db1
|
@ -1185,7 +1185,7 @@ patternField
|
||||||
;
|
;
|
||||||
|
|
||||||
objectPattern
|
objectPattern
|
||||||
: (typeName typeArguments? | FUNCTION) '(' patternFields? ')'
|
: (typeName typeArguments? | typeNamedFunction) '(' patternFields? ')'
|
||||||
;
|
;
|
||||||
|
|
||||||
patternVariableDeclaration
|
patternVariableDeclaration
|
||||||
|
@ -1439,9 +1439,13 @@ typeNotFunction
|
||||||
| VOID
|
| VOID
|
||||||
;
|
;
|
||||||
|
|
||||||
|
typeNamedFunction
|
||||||
|
: (typeIdentifier '.')? FUNCTION
|
||||||
|
;
|
||||||
|
|
||||||
typeNotVoidNotFunction
|
typeNotVoidNotFunction
|
||||||
: typeName typeArguments?
|
: typeName typeArguments?
|
||||||
| (typeIdentifier '.')? FUNCTION
|
| typeNamedFunction
|
||||||
;
|
;
|
||||||
|
|
||||||
typeName
|
typeName
|
||||||
|
|
Loading…
Reference in a new issue