Skip to content

0.639

Compare
Choose a tag to compare
@github-actions github-actions released this 16 Aug 18:37
25f91aa

What's Changed

  • Fix size of userdata metatable array by @petrihakkinen in #1366
  • Make os.clock use clock_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 and table.clone in the new solver so we can accept common code patterns like local a = table.freeze({x=5, x=0}) at the expense of accepting code like table.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]