mirror of
https://github.com/luau-lang/luau.git
synced 2024-11-15 14:25:44 +08:00
daf79328fc
### What's new? * Remove a case of unsound `table.move` optimization * Add Luau stack slot reservations that were missing in REPL (fixes #1273) ### New Type Solver * Assignments have been completely reworked to fix a case of cyclic constraint dependency * When indexing, if the fresh type's upper bound already contains a compatible indexer, do not add another upper bound * Distribute type arguments over all type families sans `eq`, `keyof`, `rawkeyof`, and other internal type families * Fix a case where `buffers` component weren't read in two places (fixes #1267) * Fix a case where things that constitutes a strong ref were slightly incorrect * Fix a case where constraint dependencies weren't setup wrt `for ... in` statement ### Native Codegen * Fix an optimization that splits TValue store only when its value and its tag are compatible * Implement a system to plug additional type information for custom host userdata types --- ### Internal Contributors Co-authored-by: Aaron Weiss <aaronweiss@roblox.com> Co-authored-by: Alexander McCord <amccord@roblox.com> Co-authored-by: Andy Friesen <afriesen@roblox.com> Co-authored-by: Vighnesh Vijay <vvijay@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> |
||
---|---|---|
.. | ||
Anyification.cpp | ||
ApplyTypeFunction.cpp | ||
AstJsonEncoder.cpp | ||
AstQuery.cpp | ||
Autocomplete.cpp | ||
BuiltinDefinitions.cpp | ||
Clone.cpp | ||
Constraint.cpp | ||
ConstraintGenerator.cpp | ||
ConstraintSolver.cpp | ||
DataFlowGraph.cpp | ||
DcrLogger.cpp | ||
Def.cpp | ||
Differ.cpp | ||
EmbeddedBuiltinDefinitions.cpp | ||
Error.cpp | ||
Frontend.cpp | ||
Generalization.cpp | ||
GlobalTypes.cpp | ||
Instantiation2.cpp | ||
Instantiation.cpp | ||
IostreamHelpers.cpp | ||
JsonEmitter.cpp | ||
Linter.cpp | ||
LValue.cpp | ||
Module.cpp | ||
NonStrictTypeChecker.cpp | ||
Normalize.cpp | ||
OverloadResolution.cpp | ||
Quantify.cpp | ||
Refinement.cpp | ||
RequireTracer.cpp | ||
Scope.cpp | ||
Simplify.cpp | ||
Substitution.cpp | ||
Subtyping.cpp | ||
Symbol.cpp | ||
TableLiteralInference.cpp | ||
ToDot.cpp | ||
TopoSortStatements.cpp | ||
ToString.cpp | ||
Transpiler.cpp | ||
TxnLog.cpp | ||
Type.cpp | ||
TypeArena.cpp | ||
TypeAttach.cpp | ||
TypeChecker2.cpp | ||
TypedAllocator.cpp | ||
TypeFamily.cpp | ||
TypeFamilyReductionGuesser.cpp | ||
TypeInfer.cpp | ||
TypeOrPack.cpp | ||
TypePack.cpp | ||
TypePath.cpp | ||
TypeUtils.cpp | ||
Unifiable.cpp | ||
Unifier2.cpp | ||
Unifier.cpp |