You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah, I think that makes sense. I originally felt like "comment" is a concept on a higher level than "CodeBlock", and there are many things we represent with CodeBlocks which don't support comments, but that said, we do have API like beginControlFlow(), which definitely can't be used everywhere a CodeBlock can. Do you want to send a PR?
Meanwhile you can copy what FunSpec.Builder.addComment() does to ensure there are no line breaks inside of a comment:
Why does CodeBlock.builder() not have addComment() method like e.g. FunSpec.builder() ?
The text was updated successfully, but these errors were encountered: