-
Notifications
You must be signed in to change notification settings - Fork 185
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
Scalafix 0.9.26 breaks scalafix-organize-imports unit test #1337
Comments
Looking at https://github.com/liancheng/scalafix-organize-imports/pull/153/checks?check_run_id=1736149686, we can see that the tests pass, but the coverage task fail (as mentioned in liancheng/scalafix-organize-imports#153 (comment)), so the problem is related to the 0.9.26 upgrade, and most likely to the scalameta bump. I'll have a look. |
Looks like a regression introduced in scalameta 4.4.9 (first present in scalafix 0.9.26) scalameta/scalameta#2260 |
I think we need to bump Scalameta version to 4.4.11 or a higher version, which contains scalameta/scalameta#2260, to resolve this one. |
I verified via liancheng/scalafix-organize-imports#179 that this is fixed on main. Keeping open for confirmation until a release is cut out next week. |
Confirmed via liancheng/scalafix-organize-imports#181 |
So the identifier
`{ d }`
in the input is rewritten into{ d }
without quotation.More details can be found in this build of liancheng/scalafix-organize-imports#158.
I'm not sure whether the problem is from 0.9.25 or 0.9.26, because the Scala Steward PR for upgrading Scalafix to 0.9.25 failed and I didn't get enough cycles to investigate.
The text was updated successfully, but these errors were encountered: