Mark RFCs that were implemented as such.

This commit is contained in:
Arseny Kapoulkine 2021-11-03 21:35:25 -07:00
parent 344d37f0b1
commit 1f0084daa3
6 changed files with 17 additions and 1 deletions

View File

@ -1,5 +1,7 @@
# Configure analysis via .luaurc # Configure analysis via .luaurc
**Status**: Implemented
## Summary ## Summary
Introduces a way to configure type checker and linter using JSON-like .luaurc files Introduces a way to configure type checker and linter using JSON-like .luaurc files

View File

@ -2,6 +2,8 @@
> Note: this RFC was adapted from an internal proposal that predates RFC process > Note: this RFC was adapted from an internal proposal that predates RFC process
**Status**: Implemented
## Summary ## Summary
Add `table.freeze` which allows to make a table read-only in a shallow way. Add `table.freeze` which allows to make a table read-only in a shallow way.

View File

@ -1,5 +1,7 @@
# Generic functions # Generic functions
**Status**: Implemented
## Summary ## Summary
Extend the syntax and semantics of functions to support explicit generic functions, which can bind type parameters as well as data parameters. Extend the syntax and semantics of functions to support explicit generic functions, which can bind type parameters as well as data parameters.

View File

@ -1,5 +1,11 @@
# Recursive type restriction # Recursive type restriction
**Status**: Implemented
## Summary
Restrict generic type aliases to only be able to refer to the exact same instantiation of the generic that's being declared.
## Motivation ## Motivation
Luau supports recursive type aliases, but with an important restriction: Luau supports recursive type aliases, but with an important restriction:

View File

@ -2,6 +2,8 @@
> Note: this RFC was adapted from an internal proposal that predates RFC process > Note: this RFC was adapted from an internal proposal that predates RFC process
**Status**: Implemented
## Summary ## Summary
Introduce a form of ternary conditional using `if cond then value else alternative` syntax. Introduce a form of ternary conditional using `if cond then value else alternative` syntax.

View File

@ -1,5 +1,7 @@
# Unsealed table assignment creates an optional property # Unsealed table assignment creates an optional property
## Summary
In Luau, tables have a state, which can, among others, be "unsealed". In Luau, tables have a state, which can, among others, be "unsealed".
An unsealed table is one that we are still constructing. Currently An unsealed table is one that we are still constructing. Currently
assigning a table literal to an unsealed table does not introduce new assigning a table literal to an unsealed table does not introduce new