Fix type pack grammar

This commit is contained in:
JohnnyMorganz 2021-12-04 11:11:24 +00:00
parent 88b726fa7d
commit da0a15a11d

View file

@ -65,7 +65,7 @@ Type ::=
SimpleType [`|` Type] |
SimpleType [`&` Type]
GenericTypeList ::= NAME [`...'] {`,' NAME}
GenericTypeList ::= NAME [`...'] {`,' NAME [`...']}
TypeList ::= Type [`,' TypeList] | ...Type
ReturnType ::= Type | `(' TypeList `)'
TableIndexer ::= `[' Type `]' `:' Type