mirror of
https://github.com/luau-lang/luau.git
synced 2024-11-15 14:25:44 +08:00
a251bc68a2
Some checks failed
benchmark / callgrind (map[branch:main name:luau-lang/benchmark-data], ubuntu-22.04) (push) Has been cancelled
build / ${{matrix.os.name}} (map[name:macos version:macos-latest]) (push) Has been cancelled
build / ${{matrix.os.name}} (map[name:macos-arm version:macos-14]) (push) Has been cancelled
build / ${{matrix.os.name}} (map[name:ubuntu version:ubuntu-latest]) (push) Has been cancelled
build / windows (Win32) (push) Has been cancelled
build / windows (x64) (push) Has been cancelled
build / coverage (push) Has been cancelled
build / web (push) Has been cancelled
release / ${{matrix.os.name}} (map[name:macos version:macos-latest]) (push) Has been cancelled
release / ${{matrix.os.name}} (map[name:ubuntu version:ubuntu-20.04]) (push) Has been cancelled
release / ${{matrix.os.name}} (map[name:windows version:windows-latest]) (push) Has been cancelled
release / web (push) Has been cancelled
* New `vector` library! See https://rfcs.luau.org/vector-library.html for details * Replace the use of non-portable `strnlen` with `memchr`. `strnlen` is not part of any C or C++ standard. * Introduce `lua_newuserdatataggedwithmetatable` for faster tagged userdata creation of userdata with metatables registered with `lua_setuserdatametatable` Old Solver * It used to be the case that a module's result type would unconditionally be inferred to be `any` if it imported any module that participates in any import cycle. This is now fixed. New Solver * Improve inference of `table.freeze`: We now infer read-only properties on tables after they have been frozen. * We now correctly flag cases where `string.format` is called with 0 arguments. * Fix a bug in user-defined type functions where table properties could be lost if the table had a metatable * Reset the random number seed for each evaluation of a type function * We now retry subtyping arguments if it failed due to hidden variadics. --------- Co-authored-by: Aaron Weiss <aaronweiss@roblox.com> Co-authored-by: Alexander McCord <amccord@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> Co-authored-by: Junseo Yoo <jyoo@roblox.com> |
||
---|---|---|
.. | ||
Anyification.h | ||
AnyTypeSummary.h | ||
ApplyTypeFunction.h | ||
AstJsonEncoder.h | ||
AstQuery.h | ||
Autocomplete.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 | ||
Error.h | ||
FileResolver.h | ||
FragmentAutocomplete.h | ||
Frontend.h | ||
Generalization.h | ||
GlobalTypes.h | ||
InsertionOrderedMap.h | ||
Instantiation2.h | ||
Instantiation.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 | ||
Unifier2.h | ||
Unifier.h | ||
UnifierSharedState.h | ||
VisitType.h |