From a1e36e7a287f85d2eff36930442be4f5c29087a3 Mon Sep 17 00:00:00 2001 From: JohnnyMorganz Date: Thu, 4 May 2023 13:07:19 +0100 Subject: [PATCH] Update docs/_pages/grammar.md Co-authored-by: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com> --- 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 20dce193..96d40230 100644 --- a/docs/_pages/grammar.md +++ b/docs/_pages/grammar.md @@ -77,7 +77,7 @@ GenericTypeList = NAME [',' GenericTypeList] | GenericTypePackParameter {',' Gen GenericTypePackParameterWithDefault = NAME '...' '=' (TypePack | VariadicTypePack | GenericTypePack) GenericTypeListWithDefaults = - GenericTypeList | + GenericTypeList {',' GenericTypePackParameterWithDefault} | NAME {',' NAME} {',' NAME '=' Type} {',' GenericTypePackParameterWithDefault} | NAME '=' Type {',' GenericTypePackParameterWithDefault} | GenericTypePackParameterWithDefault {',' GenericTypePackParameterWithDefault}