mirror of
https://github.com/luau-lang/luau.git
synced 2025-08-26 11:27:08 +01:00
# What's changed? Another somewhat quiet week! Don't let the large PR fool you, this is mostly ... ## New Solver * The code for type functions has been re-organized: instead of _everything_ living in `TypeFunction.h` and `TypeFunction.cpp`, we now have separate files for the type function inference machinery (`TypeFunction.h`), definitions of built-in type functions (`BuiltinTypeFunctions.h`), and the implementation of user defined type functions (`UserDefinedTypeFunction.h`). * Refinements against `*no-refine*`, a sentinel type indicating that no refinements should occur, are now _always_ resolved, even if the target of the refinement would be otherwise pending, such as another type function. ## Autocomplete * Fixed autocomplete to prefer table property completion to string singleton completion. In the below example, the types associated with each member of `foo` will be displayed in autocomplete popups. ``` local foo = { ["Item/Foo"] = 42, ["Item/Bar"] = "it's true", ["Item/Baz"] = true, } foo["|"] -- cursor at `|` ``` ## Native Codegen * Fixed native compilation lowering of the new global lookup instruction, which caused code generation to fail with an error or to evaluate incorrect results. Issue affected 678-681 releases when all flags were enabled. --- Co-authored-by: Andy Friesen <afriesen@roblox.com> Co-authored-by: Ariel Weiss <aaronweiss@roblox.com> Co-authored-by: Hunter Goldstein <hgoldstein@roblox.com> Co-authored-by: Sora Kanosue <skanosue@roblox.com> Co-authored-by: Talha Pathan <tpathan@roblox.com> Co-authored-by: Vighnesh Vijay <vvijay@roblox.com> Co-authored-by: Vyacheslav Egorov <vegorov@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 |