From f35f5feedef4b8f90f73ab2ae6f518469024deb1 Mon Sep 17 00:00:00 2001 From: "ajeffrey@roblox.com" Date: Tue, 29 Mar 2022 18:12:07 -0500 Subject: [PATCH] Skeleton March Recap --- .../2022-03-31-luau-recap-march-2022.md | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 docs/_posts/2022-03-31-luau-recap-march-2022.md diff --git a/docs/_posts/2022-03-31-luau-recap-march-2022.md b/docs/_posts/2022-03-31-luau-recap-march-2022.md new file mode 100644 index 00000000..13714d01 --- /dev/null +++ b/docs/_posts/2022-03-31-luau-recap-march-2022.md @@ -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)