-
-
Notifications
You must be signed in to change notification settings - Fork 371
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
BSP's dependencyModules do not return transitive libraries #3165
Comments
You are right, there is no resolution step in the current implementation. It's probably an oversight. P.S. I've planned to touch that code as part of a fix for #3148, but that will no happen in the near next days. |
There is no hurry, unless this will take more than a month I don't think I need to add a workaround. Thanks! |
Or did I misunderstand and it would be better to add it for now? |
The fix in the right place, e.g. call mill/bsp/worker/src/mill/bsp/worker/MillBuildServer.scala Lines 402 to 431 in 27ff770
|
Any updates on this? Perhaps I can help (I reported the original issue here: scalameta/metals#6419) |
@megri Go ahead, I haven't started yet. |
Perhaps I'm misunderstanding the proposed solution but wouldn't it be weird to call |
@megri There is some resolution needed, that's for sure. Of course we already have a target which resolves all ivy dependencies used for compilation (
|
I think this is now fixed by |
While investigating scalameta/metals#6419 I realized that dependencyModules returns only the Scala 3 library for a simple Scala 3 project. It's missing the Scala 2.13 library.
My guess is that no transitive dependencies are being returned.
I can work around it by not requesting dependencyModules from Mill BSP server, but I wanted to mention it before doing a workaround.
The text was updated successfully, but these errors were encountered: