Skip to content

Commit

Permalink
Set the defining module even when it cloned.
Browse files Browse the repository at this point in the history
  • Loading branch information
aatxe authored Nov 5, 2024
1 parent 9a4bc6a commit 3c40a11
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Analysis/src/ConstraintSolver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3c40a11

Please sign in to comment.