0.639
What's Changed
- Fix size of userdata metatable array by @petrihakkinen in #1366
- Make
os.clock
useclock_gettime
on FreeBSD by @Ketasaja in #1364 - Variety of bugfixes in the new solver
- Fix a bug in lua_resume where too many values might be removed from stack when resume throws an error
New Solver
- Fix an issue where we would hit a recursion limit when applying long chains of type refinements.
- Weaken the types of
table.freeze
andtable.clone
in the new solver so we can accept common code patterns likelocal a = table.freeze({x=5, x=0})
at the expense of accepting code liketable.freeze(true)
. - Don't warn when the # operator is used on a value of type never
Full Changelog: 0.638...0.639
Internal Contributors
Co-authored-by: Aaron Weiss [email protected]
Co-authored-by: Andy Friesen [email protected]
Co-authored-by: Vighnesh Vijay [email protected]
Co-authored-by: Vyacheslav Egorov [email protected]