Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OperatorWrap and WrappingAndBraces causing wrong result for Kotlin #302

Open
SettingDust opened this issue Jun 12, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@SettingDust
Copy link

What version of OpenRewrite are you using?

I am using

  • OpenRewrite 8.27.4
  • Maven/Gradle plugin 6.16.0
  • rewrite-static-analysis 1.9.0

How are you running OpenRewrite?

Gradle.
Single Module
https://github.com/SettingDust/TheAbyss

What is the smallest, simplest way to reproduce the problem?

https://discord.com/channels/996548279191998535/996548280118935674/1249202116883513425
Run the rewrite with gradle.

  1. 图片
  2. 图片

What did you expect to see?

  1. 图片
  2. No

What did you see instead?

  1. 图片
  2. 图片
    图片

Are you interested in contributing a fix to OpenRewrite?

No

@SettingDust SettingDust added the bug Something isn't working label Jun 12, 2024
@timtebeek
Copy link
Contributor

Thanks for reporting your issue here as well @SettingDust ! Definitely something to fix such that these recipes just work for Kotlin too.

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
Status: Backlog
Development

No branches or pull requests

3 participants