From b165bbc9aae9348c24ed943b323fe7ca66f94496 Mon Sep 17 00:00:00 2001 From: Federico Cassano Date: Wed, 2 Aug 2023 12:17:22 -0700 Subject: [PATCH] add type pack to fn params not super sure about this one: can you do more than GenericTypePack? --- docs/_pages/grammar.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_pages/grammar.md b/docs/_pages/grammar.md index baf756ed..9cd22edc 100644 --- a/docs/_pages/grammar.md +++ b/docs/_pages/grammar.md @@ -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}