Basicallym, I have a lot of these in my code:
class Struct extends System.Object{
function Struct(other: Struct){
this.a = other.a;
this.b = other.b;
}
var a: int;
var b: int;
}
Is there a better way to do “copy construction” or “copy assignment”?