add type pack to fn params

not super sure about this one: can you do more than GenericTypePack?
This commit is contained in:
Federico Cassano 2023-08-02 12:17:22 -07:00 committed by GitHub
parent 4b90c10f13
commit b165bbc9aa
Signed by: DevComp
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,7 +28,7 @@ laststat = 'return' [explist] | 'break' | 'continue'
funcname = NAME {'.' NAME} [':' NAME]
funcbody = ['<' GenericTypeList '>'] '(' [parlist] ')' [':' ReturnType] block 'end'
parlist = bindinglist [',' '...'] | '...'
parlist = bindinglist [',' '...'] | '...' [':' GenericTypePack]
explist = {exp ','} exp
namelist = NAME {',' NAME}