Is it possible to create a shortcut/reference for a nested variable?
For example:
var a = abc.xyz.uvw.addr # wont work, because it is ptr of uvw but the proc needs a object.
a.do_something()
abc.xyz.uvw.do_something()
uvw is not a ref
Try:
template a: expr = abc.xyz.uvw
You can also use the actual type of abc.xyz.uvw in lieu of expr.