Unfortunately it does not: type B = object j: int A = object myB: B converter toB(a: A): B = return a.myB var a: A echo a.j # f.nim(13, 7) Error: undeclared field: 'j'
I think I will settle on autogenerating accessor procs.
Unfortunately it does not: type B = object j: int A = object myB: B converter toB(a: A): B = return a.myB var a: A echo a.j # f.nim(13, 7) Error: undeclared field: 'j'
I think I will settle on autogenerating accessor procs.