mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Fix type pack grammar
This commit is contained in:
parent
88b726fa7d
commit
da0a15a11d
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ Type ::=
|
||||||
SimpleType [`|` Type] |
|
SimpleType [`|` Type] |
|
||||||
SimpleType [`&` Type]
|
SimpleType [`&` Type]
|
||||||
|
|
||||||
GenericTypeList ::= NAME [`...'] {`,' NAME}
|
GenericTypeList ::= NAME [`...'] {`,' NAME [`...']}
|
||||||
TypeList ::= Type [`,' TypeList] | ...Type
|
TypeList ::= Type [`,' TypeList] | ...Type
|
||||||
ReturnType ::= Type | `(' TypeList `)'
|
ReturnType ::= Type | `(' TypeList `)'
|
||||||
TableIndexer ::= `[' Type `]' `:' Type
|
TableIndexer ::= `[' Type `]' `:' Type
|
||||||
|
|
Loading…
Add table
Reference in a new issue