Closed jack-cooper closed 1 year ago
:thinking: yeah, ideally even silly examples would do something reasonable. I'd like to aviod adding custom code for debug here -- destracts from the thrust of the example. Can we rework this somehow to keep it simple? maybee use something like let _a = a.b.a.b.a
instead of print?
Sounds sensible to me! Most recent commit removes the Debug
impls.
Nice, thanks!
bors r+
The given
LateInit
recipe works up until the print statement, which causes a stack overflow as the derivedDebug
implementation tries to write out:To fix this, I've added in a rudimentary
Debug
impl.