1
0
Fork 0
mirror of https://github.com/luau-lang/rfcs.git synced 2025-04-09 21:10:56 +01:00
Commit graph

1 commit

Author SHA1 Message Date
vegorov-rbx
9656e85579 RFC: Default type alias type parameters ()
* RFC: Default type alias type parameters

* Update the motivating example to match actual motivating example

* Resolved review comments

* improved motivation for the feature and noted additional languages with this feature
* fixed terminology between 'argument' and 'parameter'
* brought back support for default type pack parameter values
* removed alternative syntax and described the decision between ':' and '=' in the design section
* fixed drawback text and provided an example

* Remove return type pack annotation from allowed type pack default values,type annotation syntax doesn't allow that to be stand-alone

* Generic type pack has to be referenced by generic type pack name (with ...)
2021-08-20 20:26:37 +03:00