Containers

- `Struct`'s `MCloenable` API adhered to
feature/class_static_init
Tristan B. V. Kildaire 10 months ago
parent b09aa3add0
commit 9b55b3dec4

@ -252,9 +252,13 @@ public class Struct : Type, Container, MCloneable
* fresh copy of all its members and the struct
* itself.
*
* Param:
* newParent = the `Container` to re-parent the
* cloned `Statement`'s self to
*
* Returns: the cloned `Statement`
*/
public override Statement clone()
public override Statement clone(Container newParent = null)
{
Struct clonedStruct = new Struct(this.name);

Loading…
Cancel
Save