Skip to content

0.510

Compare
Choose a tag to compare
@zeux zeux released this 14 Jan 16:25
· 1070 commits to master since this release
32c39e2

Analysis changes

  • Implement support for default generic arguments (RFC #61)
  • Table literals are now unsealed by default, allowing more correct programs to type check in strict mode (RFC #276)
  • Improve type checking in certain contexts when the target type is known
  • Type checking now allows for different types in different branches of if-then-else expression, and returns a union of all types
  • Type checking large module graphs now consumes less memory
  • Fix type checking crashes with recursive metatables

Community contributions

  • MSVC warning C4244 fixes by @rafabr34 in #308
  • Update compatibility.md to mark coroutine.close as supported by @metatablecat in #309