mirror of
https://github.com/luau-lang/luau.git
synced 2024-11-15 14:25:44 +08:00
67ce75e870
# What's changed? ### Native Code Generation * Fixed an UAF relating to reusing a hash key after a weak table has undergone some GC. * Fixed a bounds check on arm64 to allow access to the last byte of a buffer. ### New Type Solver * Type states now preserves error-suppression, i.e. `local x: any = 5` and `x.foo` does not error. * Made error-suppression logic in subtyping more accurate. * Subtyping now knows how to reduce type families. * Fixed function call overload resolution so that the return type resolves to the correct overload. * Fixed a case where we attempted to reduce irreducible type families a few too many times, leading to duplicate errors. * Type checker needs to type check annotations in function signatures to be able to report errors relating to those annotations. * Fixed an UAF from a pointer to stack-allocated data in Subtyping's `explainReasonings`. ### Nonstrict Type Checker * Fixed a crash when calling a checked function of the form `math.abs` with an incorrect argument type. * Fixed a crash when calling a checked function with a number of arguments that did not exactly match the number of parameters required. --- ### Internal Contributors Co-authored-by: Aaron Weiss <aaronweiss@roblox.com> Co-authored-by: Andy Friesen <afriesen@roblox.com> Co-authored-by: Vyacheslav Egorov <vegorov@roblox.com> --------- Co-authored-by: Aaron Weiss <aaronweiss@roblox.com> Co-authored-by: Andy Friesen <afriesen@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> |
||
---|---|---|
.. | ||
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_types.lua | ||
native.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 |