1
0
mirror of https://github.com/dart-lang/sdk synced 2024-07-08 12:06:26 +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:
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
: (typeName typeArguments? | FUNCTION) '(' patternFields? ')'
: (typeName typeArguments? | typeNamedFunction) '(' patternFields? ')'
;
patternVariableDeclaration
@ -1439,9 +1439,13 @@ typeNotFunction
| VOID
;
typeNamedFunction
: (typeIdentifier '.')? FUNCTION
;
typeNotVoidNotFunction
: typeName typeArguments?
| (typeIdentifier '.')? FUNCTION
| typeNamedFunction
;
typeName