mirror of
https://github.com/luau-lang/luau.git
synced 2025-04-03 18:30:54 +01:00
Set the defining module even when it cloned.
This commit is contained in:
parent
9a4bc6aeb8
commit
3c40a117a9
1 changed files with 2 additions and 1 deletions
|
@ -1109,7 +1109,8 @@ bool ConstraintSolver::tryDispatch(const TypeAliasExpansionConstraint& c, NotNul
|
||||||
|
|
||||||
target = follow(instantiated);
|
target = follow(instantiated);
|
||||||
}
|
}
|
||||||
else if (FFlag::LuauNewSolverPopulateTableLocations)
|
|
||||||
|
if (FFlag::LuauNewSolverPopulateTableLocations)
|
||||||
{
|
{
|
||||||
// This is a new type - redefine the location.
|
// This is a new type - redefine the location.
|
||||||
ttv->definitionLocation = constraint->location;
|
ttv->definitionLocation = constraint->location;
|
||||||
|
|
Loading…
Add table
Reference in a new issue