Closed dnkoutso closed 7 months ago
There's existing tests confirming all is good?
@oldergod yes!
Looks good. Aside from enforcing the close, is this fixing anything or preparing for something? Just curious.
Looks good. Aside from enforcing the close, is this fixing anything or preparing for something? Just curious.
At first I had thought it removes the need to write files twice...so I was driven by the motivation to reduce that, however it seems that was not the case prior to this change either...
I think its more of an API cleanup and I can ask the KotlinPoet folks on further explanation of their change.
I guess I did the work thinking I was going to improve things further ................... lol
I guess the real fix that ended up having here is calling close
Inspired by https://github.com/square/kotlinpoet/pull/1353