Can I have a struct hold a pointer to an another Self instance?

When I try doing that I get this issue: https://github.com/modularml/mojo/issues/1402
I'd love to do Day8 cleanly with a Tree but I fear I won't be able to if nobody has a work around this
GitHub
Bug description When defining a recursive struct (or however you call a struct that has a member of its own Self type) using AnyPointer and implementing the Movable trait on said struct to allow th...
Was this page helpful?