diff --git a/Analysis/src/Clone.cpp b/Analysis/src/Clone.cpp index 5fe9e787..8fc9a357 100644 --- a/Analysis/src/Clone.cpp +++ b/Analysis/src/Clone.cpp @@ -199,6 +199,7 @@ private: cloned->location = p.location; cloned->tags = p.tags; cloned->documentationSymbol = p.documentationSymbol; + cloned->typeLocation = p.typeLocation; return *cloned; } else @@ -210,6 +211,7 @@ private: p.location, p.tags, p.documentationSymbol, + p.typeLocation, }; } } @@ -461,6 +463,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 +475,7 @@ Property clone(const Property& prop, TypeArena& dest, CloneState& cloneState) prop.location, prop.tags, prop.documentationSymbol, + prop.typeLocation, }; } }