mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Apply suggestions from code review
Co-authored-by: Arseny Kapoulkine <arseny.kapoulkine@gmail.com>
This commit is contained in:
parent
bf42734f37
commit
6b79f7fff4
1 changed files with 2 additions and 2 deletions
|
@ -77,7 +77,7 @@ end
|
||||||
|
|
||||||
Previously examples like this did not typecheck but now they do!
|
Previously examples like this did not typecheck but now they do!
|
||||||
|
|
||||||
This language is called *width subtyping* (it allows tables to get *wider*, that is have more properties).
|
This language feature is called *width subtyping* (it allows tables to get *wider*, that is to have more properties).
|
||||||
|
|
||||||
The RFC for width subtyping is https://github.com/Roblox/luau/blob/master/rfcs/sealed-table-subtyping.md
|
The RFC for width subtyping is https://github.com/Roblox/luau/blob/master/rfcs/sealed-table-subtyping.md
|
||||||
|
|
||||||
|
@ -94,7 +94,7 @@ The RFC for width subtyping is https://github.com/Roblox/luau/blob/master/rfcs/s
|
||||||
|
|
||||||
## API improvements
|
## API improvements
|
||||||
|
|
||||||
* Add support for `table.clone`.
|
* Implement `table.clone` which takes a table and returns a new table that has the same keys/values/metatable. The cloning is shallow - if some keys refer to tables that need to be cloned, that can be done manually by modifying the resulting table.
|
||||||
|
|
||||||
## Debugger improvements
|
## Debugger improvements
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue