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> |
||
---|---|---|
.. | ||
AssemblyBuilderA64.cpp | ||
AssemblyBuilderX64.cpp | ||
BitUtils.h | ||
BytecodeAnalysis.cpp | ||
BytecodeSummary.cpp | ||
ByteUtils.h | ||
CodeAllocator.cpp | ||
CodeBlockUnwind.cpp | ||
CodeGen.cpp | ||
CodeGenA64.cpp | ||
CodeGenA64.h | ||
CodeGenAssembly.cpp | ||
CodeGenContext.cpp | ||
CodeGenContext.h | ||
CodeGenLower.h | ||
CodeGenUtils.cpp | ||
CodeGenUtils.h | ||
CodeGenX64.cpp | ||
CodeGenX64.h | ||
EmitBuiltinsX64.cpp | ||
EmitBuiltinsX64.h | ||
EmitCommon.h | ||
EmitCommonA64.h | ||
EmitCommonX64.cpp | ||
EmitCommonX64.h | ||
EmitInstructionX64.cpp | ||
EmitInstructionX64.h | ||
IrAnalysis.cpp | ||
IrBuilder.cpp | ||
IrCallWrapperX64.cpp | ||
IrDump.cpp | ||
IrLoweringA64.cpp | ||
IrLoweringA64.h | ||
IrLoweringX64.cpp | ||
IrLoweringX64.h | ||
IrRegAllocA64.cpp | ||
IrRegAllocA64.h | ||
IrRegAllocX64.cpp | ||
IrTranslateBuiltins.cpp | ||
IrTranslateBuiltins.h | ||
IrTranslation.cpp | ||
IrTranslation.h | ||
IrUtils.cpp | ||
IrValueLocationTracking.cpp | ||
IrValueLocationTracking.h | ||
lcodegen.cpp | ||
NativeProtoExecData.cpp | ||
NativeState.cpp | ||
NativeState.h | ||
OptimizeConstProp.cpp | ||
OptimizeDeadStore.cpp | ||
OptimizeFinalX64.cpp | ||
SharedCodeAllocator.cpp | ||
UnwindBuilderDwarf2.cpp | ||
UnwindBuilderWin.cpp |