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}