-
Notifications
You must be signed in to change notification settings - Fork 12
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
Scala 3 support #143
Comments
Hi @evis .... any tips on how I can override the Scala version used by Scalafix? Running with debug, I see that it picks the cmdline flag but doesn't use it (on the arguments):
|
@carlosedp could you give me an example of Scala 3 project built with Maven? I wasn't able to quickly create compiling project from scratch. Sorry for such a long delay in responding :( |
Hi Evgeny, thanks for your time! I've set a sample project with Scalafix and Scalafmt using Scala 3 at https://github.com/carlosedp/scala3-maven. A couple of things I've noticed:
|
I haven't run anything as I don't know/use maven, but it looks like Line 24 in 0983476
|
I'm sick, I'll deal with this issue when I'm healthy. |
Sure, hope tou get better soon! |
@bjaglin thanks for the tip! It helped to fix it :) @carlosedp I've initiated release 0.1.9_0.12.1 with the fix, it will become available in Maven Central soon. Thanks for your report! |
Though, semanticdb rules don't work yet... I guess, I should build it for Scala 3 too, gonna work on it. |
Oh, I forgot to compile sources before running scalafix. semanticdb rules work too, nevermind, closing it again |
Besides the fix, I would still recommend |
Thanks a lot! Just added it to my project and worked perfectly! |
Are there plans to support Scala 3?
I tried with:
But still got syntax errors from running on a Scala 3 project using the new syntax like:
The text was updated successfully, but these errors were encountered: