mirror of
https://github.com/luau-lang/luau.git
synced 2025-08-26 11:27:08 +01:00
## General - Introduce `Frontend::parseModules` for parsing a group of modules at once. - Support chained function types in the CST. ## New Type Solver - Enable write-only table properties (described in [this RFC](https://rfcs.luau.org/property-writeonly.html)). - Disable singleton inference for large tables to improve performance. - Fix a bug that occurs when we try to expand a type alias to itself. - Catch cancelation during the type-checking phase in addition to during constraint solving. - Fix stringification of the empty type pack: `()`. - Improve errors for calls being rejected on the primitive `function` type. - Rework generalization: We now generalize types as soon as the last constraint relating to them is finished. We think this will reduce the number of cases where type inference fails to complete and reduce the number of instances where `*blocked*` types appear in the inference result. ## VM/Runtime - Dynamically disable native execution for functions that incur a slowdown (relative to bytecode execution). - Improve names for `thread`/`closure`/`proto` in the Luau heap dump. --- Co-authored-by: Andy Friesen <afriesen@roblox.com> Co-authored-by: Ariel Weiss <aaronweiss@roblox.com> Co-authored-by: Aviral Goel <agoel@roblox.com> Co-authored-by: Hunter Goldstein <hgoldstein@roblox.com> Co-authored-by: Talha Pathan <tpathan@roblox.com> Co-authored-by: Varun Saini <vsaini@roblox.com> Co-authored-by: Vighnesh Vijay <vvijay@roblox.com> Co-authored-by: Vyacheslav Egorov <vegorov@roblox.com> --------- Co-authored-by: Hunter Goldstein <hgoldstein@roblox.com> Co-authored-by: Alexander Youngblood <ayoungblood@roblox.com> Co-authored-by: Menarul Alam <malam@roblox.com> Co-authored-by: Aviral Goel <agoel@roblox.com> Co-authored-by: Vighnesh <vvijay@roblox.com> Co-authored-by: Vyacheslav Egorov <vegorov@roblox.com> Co-authored-by: Ariel Weiss <aaronweiss@roblox.com> Co-authored-by: Andy Friesen <afriesen@roblox.com> |
||
---|---|---|
.. | ||
AddressA64.h | ||
AssemblyBuilderA64.h | ||
AssemblyBuilderX64.h | ||
BytecodeAnalysis.h | ||
BytecodeSummary.h | ||
CodeAllocator.h | ||
CodeBlockUnwind.h | ||
CodeGen.h | ||
CodeGenCommon.h | ||
CodeGenOptions.h | ||
ConditionA64.h | ||
ConditionX64.h | ||
IrAnalysis.h | ||
IrBuilder.h | ||
IrCallWrapperX64.h | ||
IrData.h | ||
IrDump.h | ||
IrRegAllocX64.h | ||
IrUtils.h | ||
IrVisitUseDef.h | ||
Label.h | ||
LoweringStats.h | ||
NativeProtoExecData.h | ||
OperandX64.h | ||
OptimizeConstProp.h | ||
OptimizeDeadStore.h | ||
OptimizeFinalX64.h | ||
RegisterA64.h | ||
RegisterX64.h | ||
SharedCodeAllocator.h | ||
UnwindBuilder.h | ||
UnwindBuilderDwarf2.h | ||
UnwindBuilderWin.h |