Skip to content

Conversation

@eocantu
Copy link
Contributor

@eocantu eocantu commented Jun 24, 2024

What's changed?

Disables UseTextBlocks on Kotlin given that the semantics aren't the same as for Java.

What's your motivation?

Fixes #501

Checklist

  • I've added unit tests to cover both positive and negative cases
  • I've read and applied the recipe conventions and best practices
  • I've used the IntelliJ IDEA auto-formatter on affected files

@timtebeek timtebeek self-requested a review June 24, 2024 16:17
@timtebeek timtebeek added the bug Something isn't working label Jun 24, 2024
Copy link
Member

@timtebeek timtebeek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great to see you added this so quickly; thanks a lot! Will help prevent accidental changes for Kotlin.

@timtebeek timtebeek merged commit dd5741e into openrewrite:main Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

UseTextBlocks incorrectly converts multi-line concatenated string to text block in Kotlin

2 participants