mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
add type pack to fn params
not super sure about this one: can you do more than GenericTypePack?
This commit is contained in:
parent
4b90c10f13
commit
b165bbc9aa
1 changed files with 1 additions and 1 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Reference in a new issue