-
-
Notifications
You must be signed in to change notification settings - Fork 155
dotty.tools.xsbt.PositionBridge@3eec221b: could not find Lazy implicit value error when trying to upgrade the scala version to 3.0.0 #477
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
Comments
Sorry I didn't play enough with scala3 / dotty to help you. Maybe try to contact the shapeless or scala3 community for help. And please reopen the ticket with more info if it is a issue with the plugin (In this case providing a minimal sample project case to reproduce the issue will help a lot like your linked project https://github.com/rajcspsg/scala3-maven-build-demo). Thanks |
@davidB When a compile error is logged by the plugin, one has no way to find out, in which source file the problem actually is. Which makes fixing it quite hard. 😅 Can you confirm? Thanks a lot for the plugin! I was now able to debug it, and from looking at the stack, it looks like it's a problem in dotty/sbt, and not in scala-maven-plugin:
|
@mims-github , yes using another issue was maybe a better place. Anyways any suggestions to improve the dev experience and help to resolve this issue directly or indirectly is welcomed (IMHO). In this case, I also though that the improvement is on dotty or sbt-bridge side, if I'm wrong PR are welcomes, TBH I didn't did a lot in this issue (expected try to reproduce and check some configuration), and I'm no longer a scala user or dev (since several years now), so not the best to fix or to help on this (double) issue |
@davidB Thanks a lot for your quick feedback, very appreciated. |
FYI: Starting with nightly version 3.0.2-RC1-bin-20210611-fcd837a-NIGHTLY, a more informative source location info is logged for compile errors and warnings. |
Hi,
I'm sample maven scala project here
When compiling the project with scala-maven-version 4.5.1 I get the below error.
I added the below code from the error suggestion above.
After adding that I got below error.
What is the error. How can I fix this for scala 3?
The text was updated successfully, but these errors were encountered: