Skip to content

0.518

Compare
Choose a tag to compare
@zeux zeux released this 11 Mar 17:03
· 783 commits to master since this release
a44b790

Analysis changes

  • Fix crashes when typechecking some setmetatable calls
  • Fix incorrect line number in "duplicate type" type error
  • Fix incorrect type errors in certain variadic/generic functions like pcall
  • Improve error messages for argument count mismatches in variadic functions
  • Improve type checking stability

Runtime changes

  • Remove LUAI_GC* parameters from luaconf.h; applications that need to tune them must do so by calling lua_gc
  • luaL_typename now follows the logic of typeof (which means it supports __type metafields for userdata); to get a string-based representation of a type, use lua_type to get an integer representation and lua_typename to convert it to a string

Community contributions

None this week; PRs are always welcome!