Replies: 2 comments 5 replies
-
What build server are you using? It seems to work correctly when testing in scala-cli, so laso Bloop should work. Also what Scala version are you using? |
Beta Was this translation helpful? Give feedback.
5 replies
-
From the example: package example
import scala.annotation.{nowarn, showAsInfix}
@nowarn
class Example(unusedVar: String) This is the position that the BSP reporter receives from the compiler:
The problem here is that It would make more sense to fix this in the compiler itself: scala/bug#12734 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If I have an import statement with multiple items imported and only one is not being used, then my diagnostics will show which line(s) the issue is occuring, but I'm not able to determine which import is causing the issue.
sbt compile will show the carrot under showAsInfix, but my Diagnostics will highlight the entire line and I'm unable to determine based on that.
Is there a way do determine which one is causing the issue?
Beta Was this translation helpful? Give feedback.
All reactions