-
Notifications
You must be signed in to change notification settings - Fork 156
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
Compile error on Scala 3.5.0 #660
Comments
Thanks for the report! I guess we can try not passing in implicit parameters explicitly, or have some flag that emits |
Both options sound good. I don't know which one is more appropriate for scalaxb though? |
Try not passing it first, and if not a flag? |
The bug was in scalaxb.scala runtime. |
Oops. This has been fixed in #654. I just have to release it. |
Here's a PR to get Scala 3.5.0 compiling with |
Awesome, thank you! |
I'm upgrading our project from Scala 3.4.3 to Scala 3.5.0, and I get this new error message:
I tried doing what the compiler suggested and added
-rewrite -source 3.4-migration
to thescalacOptions
in our build.sbt. That changed this line:into this one:
Along with some other Scala 3-specific rewrites. I was considering offering a PR with the rewrites to fix this issue, but since these changes break compatibility with Scala 2, I see that that's not an option.
Apart from leaving the
-rewrite
flag in our build.sbt, is there a workaround or fix for this that we can apply, so that we can upgrade to Scala 3.5?The text was updated successfully, but these errors were encountered: