Parse type arguments after callable reference as error
Is likely to be supported in the future
This commit is contained in:
@@ -104,7 +104,7 @@ postfixUnaryExpression
|
||||
|
||||
// TODO: callSuffix is forbidden after callableReference, since parentheses will be used to provide parameter types
|
||||
callableReference
|
||||
: (userType "?"*)? "::" SimpleName
|
||||
: (userType "?"*)? "::" SimpleName typeArguments?
|
||||
;
|
||||
|
||||
// !!! When you add here, remember to update the FIRST set in the parser
|
||||
|
||||
Reference in New Issue
Block a user