Closure parameters for constructor invocations
This commit is contained in:
@@ -174,12 +174,16 @@ prefixUnaryOperation
|
||||
|
||||
postfixUnaryOperation
|
||||
: "++" : "--"
|
||||
: typeArguments? valueArguments (label? functionLiteral)
|
||||
: typeArguments (label? functionLiteral)
|
||||
: callSuffix
|
||||
: arrayAccess
|
||||
: memberAccessOperation postfixUnaryOperation // TODO: Review
|
||||
;
|
||||
|
||||
callSuffix
|
||||
: typeArguments? valueArguments (label? functionLiteral)
|
||||
: typeArguments (label? functionLiteral)
|
||||
;
|
||||
|
||||
memberAccessOperation
|
||||
: "." : "?." : "#" : "?"
|
||||
;
|
||||
@@ -221,7 +225,7 @@ expressions
|
||||
;
|
||||
|
||||
constructorInvocation
|
||||
: userType valueArguments
|
||||
: userType callSuffix
|
||||
;
|
||||
|
||||
arrayAccess
|
||||
|
||||
Reference in New Issue
Block a user