Set the defining module even when it cloned.

This commit is contained in:
aaron 2024-11-05 15:11:22 -08:00 committed by GitHub
parent 9a4bc6aeb8
commit 3c40a117a9
Signed by: DevComp
GPG key ID: B5690EEEBB952194

View file

@ -1109,7 +1109,8 @@ bool ConstraintSolver::tryDispatch(const TypeAliasExpansionConstraint& c, NotNul
target = follow(instantiated);
}
else if (FFlag::LuauNewSolverPopulateTableLocations)
if (FFlag::LuauNewSolverPopulateTableLocations)
{
// This is a new type - redefine the location.
ttv->definitionLocation = constraint->location;