A bug in exception handling in GCC(11/12/13) on MacOS prevents our test suite from running.
Parser now supports leading | or & when declaring Union and Intersection types (#1286)
We now support parsing of attributes on functions as described in the rfc
With this change, expressions such as local x = @native function(x) return x+1 end and f(@native function(x) return x+1 end) are now
valid.
Added support for @native attribute - we can now force native compilation of individual functions if the @native attribute is specified before the function keyword (works for lambdas too).
New Solver
Many fixes in the new solver for crashes and instability
Refinements now use simplification and not normalization in a specific case of two tables
Assume that compound assignments do not change the type of the left-side operand
Fix error that prevented Class Methods from being overloaded
VM
Updated description of Garbage Collector invariant
What's new
|
or&
when declaringUnion
andIntersection
types (#1286)local x = @native function(x) return x+1 end
andf(@native function(x) return x+1 end)
are now valid.@native
attribute - we can now force native compilation of individual functions if the@native
attribute is specified before thefunction
keyword (works for lambdas too).New Solver
VM
Internal Contributors
Co-authored-by: Aaron Weiss aaronweiss@roblox.com Co-authored-by: Alexander McCord amccord@roblox.com Co-authored-by: Andy Friesen afriesen@roblox.com Co-authored-by: Aviral Goel agoel@roblox.com Co-authored-by: Vighnesh Vijay vvijay@roblox.com Co-authored-by: Vyacheslav Egorov vegorov@roblox.com