mirror of
https://github.com/luau-lang/luau.git
synced 2024-12-12 13:00:38 +00:00
a251bc68a2
* New `vector` library! See https://rfcs.luau.org/vector-library.html for details * Replace the use of non-portable `strnlen` with `memchr`. `strnlen` is not part of any C or C++ standard. * Introduce `lua_newuserdatataggedwithmetatable` for faster tagged userdata creation of userdata with metatables registered with `lua_setuserdatametatable` Old Solver * It used to be the case that a module's result type would unconditionally be inferred to be `any` if it imported any module that participates in any import cycle. This is now fixed. New Solver * Improve inference of `table.freeze`: We now infer read-only properties on tables after they have been frozen. * We now correctly flag cases where `string.format` is called with 0 arguments. * Fix a bug in user-defined type functions where table properties could be lost if the table had a metatable * Reset the random number seed for each evaluation of a type function * We now retry subtyping arguments if it failed due to hidden variadics. --------- Co-authored-by: Aaron Weiss <aaronweiss@roblox.com> Co-authored-by: Alexander McCord <amccord@roblox.com> Co-authored-by: Vighnesh <vvijay@roblox.com> Co-authored-by: Aviral Goel <agoel@roblox.com> Co-authored-by: David Cope <dcope@roblox.com> Co-authored-by: Lily Brown <lbrown@roblox.com> Co-authored-by: Vyacheslav Egorov <vegorov@roblox.com> Co-authored-by: Junseo Yoo <jyoo@roblox.com> |
||
---|---|---|
.. | ||
apicalls.lua | ||
assert.lua | ||
attrib.lua | ||
basic.lua | ||
bitwise.lua | ||
buffers.lua | ||
calls.lua | ||
clear.lua | ||
closure.lua | ||
constructs.lua | ||
coroutine.lua | ||
coverage.lua | ||
datetime.lua | ||
debug.lua | ||
debugger.lua | ||
errors.lua | ||
events.lua | ||
exceptions.lua | ||
gc.lua | ||
ifelseexpr.lua | ||
interrupt.lua | ||
iter.lua | ||
literals.lua | ||
locals.lua | ||
math.lua | ||
move.lua | ||
native.lua | ||
native_types.lua | ||
native_userdata.lua | ||
ndebug_upvalues.lua | ||
pcall.lua | ||
pm.lua | ||
safeenv.lua | ||
sort.lua | ||
strconv.lua | ||
stringinterp.lua | ||
strings.lua | ||
tables.lua | ||
tmerror.lua | ||
tpack.lua | ||
types.lua | ||
userdata.lua | ||
utf8.lua | ||
vararg.lua | ||
vector.lua | ||
vector_library.lua |