Add "NewReference" for Global and Local
jwhpryor opened this issue · comments
It's legitimate to want to copy a local or global and this should be supported.
e.g. a syntax like:
LocalObject<kClass> obj { obj, ShallowCopy{} };
This would be very similar to GlobalObject
creation as a source for copying implementation from.
can i work on this
Doh, I actually may have taken care of the bulk of this literally earlier today (search for CreateCopy
) 🤦🏻♂️.
That said, there's actually no meaningful E2E test. That would be both helpful, and probably a good intro to project.
Alternatively, #2 is unlikely to be finished soon, and is likely also a good spot to start.