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:
Erik Ernst 2023-12-06 13:01:58 +00:00 committed by Commit Queue
parent f5743b9f44
commit be64653db1

View file

@ -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