Closed kunli2 closed 5 months ago
fixes https://github.com/openrewrite/rewrite-kotlin/issues/569
Following the same pattern in groovy, added a nullable string to K.CompilationUnit for shebang.
K.CompilationUnit
Can we add more tests?
Sure, added more tests, and the scenarios that shebang following with package declaration or imports need to be tackled a bit more, updated.
fixes https://github.com/openrewrite/rewrite-kotlin/issues/569
Following the same pattern in groovy, added a nullable string to
K.CompilationUnit
for shebang.