mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Skeleton March Recap
This commit is contained in:
parent
75bccce3db
commit
f35f5feede
1 changed files with 37 additions and 0 deletions
37
docs/_posts/2022-03-31-luau-recap-march-2022.md
Normal file
37
docs/_posts/2022-03-31-luau-recap-march-2022.md
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
---
|
||||||
|
layout: single
|
||||||
|
title: "Luau Recap: March 2022"
|
||||||
|
---
|
||||||
|
|
||||||
|
Luau is our new language that you can read more about at [https://luau-lang.org](https://luau-lang.org).
|
||||||
|
|
||||||
|
[Cross-posted to the [Roblox Developer Forum](https://devforum.roblox.com/t/luau-recap-march-2022/).]
|
||||||
|
|
||||||
|
## Tagged unions
|
||||||
|
|
||||||
|
## Width subtyping
|
||||||
|
|
||||||
|
## Typechecking improvements
|
||||||
|
|
||||||
|
* Generic function type inference now works the same for generic types and generic type packs.
|
||||||
|
* Less crashing due to mutating types which shouldn't be.
|
||||||
|
* Fix a bug that could cause two incompatible copies of the same class to be created.
|
||||||
|
* Cope better with cyclic metatable types.
|
||||||
|
* Add support for `table.clone`.
|
||||||
|
* Better error messages.
|
||||||
|
* Fix a bug that confused union and intersection types of table properties.
|
||||||
|
|
||||||
|
## Debugger improvements
|
||||||
|
|
||||||
|
* Use the property name as the name of methods in the debugger.
|
||||||
|
|
||||||
|
## Performance improvements
|
||||||
|
|
||||||
|
* Improve gathering performance metrics for GC.
|
||||||
|
* Reduce stack memory reallocation.
|
||||||
|
|
||||||
|
## Thanks
|
||||||
|
|
||||||
|
A special thanks to all the fine folks who contributed PRs this month!
|
||||||
|
|
||||||
|
* [ProBaturay](https://github.com/ProBaturay)
|
Loading…
Add table
Reference in a new issue