mirror of
https://github.com/luau-lang/luau.git
synced 2025-03-04 11:11:41 +00:00
Set the defining module even when the new solver cloned the type. (#1506)
Follow up to #1495: a small fixup for the defining module and location to get set even when cloning was required.
This commit is contained in:
parent
f1d4621d59
commit
47543e5df1
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue