mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Clone TTV type location
This commit is contained in:
parent
1cda8304bf
commit
3b7d31c38b
1 changed files with 4 additions and 2 deletions
|
@ -199,6 +199,7 @@ private:
|
|||
cloned->location = p.location;
|
||||
cloned->tags = p.tags;
|
||||
cloned->documentationSymbol = p.documentationSymbol;
|
||||
cloned->typeLocation = p.typeLocation;
|
||||
return *cloned;
|
||||
}
|
||||
else
|
||||
|
@ -209,8 +210,7 @@ private:
|
|||
p.deprecatedSuggestion,
|
||||
p.location,
|
||||
p.tags,
|
||||
p.documentationSymbol,
|
||||
};
|
||||
p.documentationSymbol, p.typeLocation};
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -461,6 +461,7 @@ Property clone(const Property& prop, TypeArena& dest, CloneState& cloneState)
|
|||
cloned->location = prop.location;
|
||||
cloned->tags = prop.tags;
|
||||
cloned->documentationSymbol = prop.documentationSymbol;
|
||||
cloned->typeLocation = prop.typeLocation;
|
||||
return *cloned;
|
||||
}
|
||||
else
|
||||
|
@ -472,6 +473,7 @@ Property clone(const Property& prop, TypeArena& dest, CloneState& cloneState)
|
|||
prop.location,
|
||||
prop.tags,
|
||||
prop.documentationSymbol,
|
||||
prop.typeLocation,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue