Clone TableType typeLocation (#1136)

This was missed in #1046
This commit is contained in:
JohnnyMorganz 2024-01-08 15:25:27 +01:00 committed by GitHub
parent e76802f2ce
commit c0f5538947
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,
};
}
}