mirror of
https://github.com/luau-lang/luau.git
synced 2025-03-04 11:11:41 +00:00
![]() # General - Additional logging enabled for fragment autocomplete. ## Roundtrippable AST - Add a new `AstNode`, `AstGenericType` - Retain source information for `AstExprTypeAssertion` ## New Type Solver - New non-strict mode will report unknown symbol errors, e.g ``` foo = 5 local wrong1 = foob <- issue warning ``` - Fixed a bug where new non-strict mode failed to visit large parts of the program. - We now infer the types of unnanotated local variables in statements with multiple assignments, e.g. `local x: "a", y, z = "a", f()` - Fixed bugs in constraint dispatch ordering. - Fixed a bug that caused an infinite loop between `Subtyping`, `OverloadResolution`, and `Type Function Reduction`, by preventing calls to `Type Function Reduction` being re-entrant. - Fixed a crash in bidirectional type inference caused by asserting read and write properties on a type that was readonly. ## Runtime - Fix a stack overflow caused by `luaL_checkstack` consuming stack space even if the function fails to reserve memory. - Using '%c' with a 0 value in Luau string.format will append a '\0'. Resolves https://github.com/luau-lang/luau/issues/1650 ## Miscellaneous - Miscellaneous small bugfixes for the new solver. **Full Changelog**: https://github.com/luau-lang/luau/compare/0.660...0.661 ---- Co-authored-by: Ariel Weiss <aaronweiss@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: Varun Saini <61795485+vrn-sn@users.noreply.github.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> |
||
---|---|---|
.. | ||
Anyification.h | ||
AnyTypeSummary.h | ||
ApplyTypeFunction.h | ||
AstJsonEncoder.h | ||
AstQuery.h | ||
Autocomplete.h | ||
AutocompleteTypes.h | ||
BuiltinDefinitions.h | ||
Cancellation.h | ||
Clone.h | ||
Constraint.h | ||
ConstraintGenerator.h | ||
ConstraintSolver.h | ||
ControlFlow.h | ||
DataFlowGraph.h | ||
DcrLogger.h | ||
Def.h | ||
Differ.h | ||
Documentation.h | ||
EqSatSimplification.h | ||
EqSatSimplificationImpl.h | ||
Error.h | ||
FileResolver.h | ||
FragmentAutocomplete.h | ||
Frontend.h | ||
Generalization.h | ||
GlobalTypes.h | ||
InsertionOrderedMap.h | ||
Instantiation.h | ||
Instantiation2.h | ||
IostreamHelpers.h | ||
JsonEmitter.h | ||
Linter.h | ||
LValue.h | ||
Metamethods.h | ||
Module.h | ||
ModuleResolver.h | ||
NonStrictTypeChecker.h | ||
Normalize.h | ||
NotNull.h | ||
OverloadResolution.h | ||
Predicate.h | ||
Quantify.h | ||
RecursionCounter.h | ||
Refinement.h | ||
RequireTracer.h | ||
Scope.h | ||
Set.h | ||
Simplify.h | ||
Substitution.h | ||
Subtyping.h | ||
Symbol.h | ||
TableLiteralInference.h | ||
ToDot.h | ||
TopoSortStatements.h | ||
ToString.h | ||
Transpiler.h | ||
TxnLog.h | ||
Type.h | ||
TypeArena.h | ||
TypeAttach.h | ||
TypeChecker2.h | ||
TypeCheckLimits.h | ||
TypedAllocator.h | ||
TypeFunction.h | ||
TypeFunctionReductionGuesser.h | ||
TypeFunctionRuntime.h | ||
TypeFunctionRuntimeBuilder.h | ||
TypeFwd.h | ||
TypeInfer.h | ||
TypeOrPack.h | ||
TypePack.h | ||
TypePairHash.h | ||
TypePath.h | ||
TypeUtils.h | ||
Unifiable.h | ||
Unifier.h | ||
Unifier2.h | ||
UnifierSharedState.h | ||
VisitType.h |