Skip to content

Commit

Permalink
Clone TableType typeLocation (#1136)
Browse files Browse the repository at this point in the history
This was missed in #1046
  • Loading branch information
JohnnyMorganz authored Jan 8, 2024
1 parent e76802f commit c0f5538
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Analysis/src/Clone.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ class TypeCloner2
cloned->location = p.location;
cloned->tags = p.tags;
cloned->documentationSymbol = p.documentationSymbol;
cloned->typeLocation = p.typeLocation;
return *cloned;
}
else
Expand All @@ -210,6 +211,7 @@ class TypeCloner2
p.location,
p.tags,
p.documentationSymbol,
p.typeLocation,
};
}
}
Expand Down Expand Up @@ -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
Expand All @@ -472,6 +475,7 @@ Property clone(const Property& prop, TypeArena& dest, CloneState& cloneState)
prop.location,
prop.tags,
prop.documentationSymbol,
prop.typeLocation,
};
}
}
Expand Down

0 comments on commit c0f5538

Please sign in to comment.