rewrite-static-analysis icon indicating copy to clipboard operation
rewrite-static-analysis copied to clipboard

CodeCleanup: Compilation failure using `as`-statement SimpleAssociation<*, *>

Open Pankraz76 opened this issue 1 year ago • 2 comments

run: org.openrewrite.staticanalysis.CodeCleanup

https://docs.openrewrite.org/recipes/staticanalysis/codecleanup#usage

checkout: https://github.com/xmolecules/jmolecules.git

diff: Image

Pankraz76 avatar Jan 16 '25 13:01 Pankraz76

Thanks @punkratz312 ! It'd be great if you could include the snippet just above that shows which recipe made that exact change, as CodeCleanup is again a composite of multiple recipes: https://github.com/openrewrite/rewrite-static-analysis/blob/1b90aecdfce14e24c6abd7203bee2113973e41df/src/main/resources/META-INF/rewrite/static-analysis.yml#L19-L43

That should give us some indication of whether to look at a particular recipe, or perhaps generically at rewrite-kotlin

timtebeek avatar Jan 16 '25 14:01 timtebeek

This issue is stale because it has not had any activity for 60 days. Remove question label or comment or this will be closed in two weeks. Issues may be reopened when there is renewed interest.

github-actions[bot] avatar Jul 28 '25 11:07 github-actions[bot]