-
Notifications
You must be signed in to change notification settings - Fork 22
OrganizeImports produces non-sensical imports #137
Comments
@sideeffffect, thanks for reporting! I was trying to reproduce this issue, but running either |
Another thing I tried was invoking the "organize imports" code action (which is powered by BTW, my previous |
Maybe running with more memory ( |
I've tried to run it again on the same snapshot with both It's not a huge deal, it's easy to fix manually, because it's only in few files. |
@sideeffffect, thanks for the follow-up! Using ZIO as a stress test is a great idea. I did want to add a few automated tests to check out certain repos and run Unfortunately, I don't have enough cycles recently, but will try to find some time to root cause this issue later. |
OrganizeImports produced non-sensical imports, like
Discovered in PR zio/zio#4449
Full commit with all the changes OrganizeImports made is here: zio/zio@495623e
These non-sensical imports had to be manually fixed by this commit zio/zio@689c205
The original snapshot of the codebase is here https://github.com/zio/zio/tree/1816c4232ee16f8e50ef4291b7810ebdea4e8529 + you have to adjust the OrganizeImports settings to
It should be 100% reproducible, just run
fix
from sbtThe version of OrganizeImports used is 0.4.4 https://github.com/zio/zio/blob/1816c4232ee16f8e50ef4291b7810ebdea4e8529/project/BuildHelper.scala#L236
Are there any other details that would help you debug this?
The text was updated successfully, but these errors were encountered: