You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[warn] /.../foo/Test.scala:1: Unused import
[warn] package foo
[warn] ^
[warn] one warning found
In Scala Pickling issues there is another manifestation of this here. Problem is that when compiler emit this false warning it provide reporters with parameter pos of type scala.reflect.internal.util.Position whose field point is set to -1. By my understanding this shouldn't happen in the first place at all.
Ensime Server is suffering with these false warnings also.
The text was updated successfully, but these errors were encountered:
@som-snytt said (edited on Jan 7, 2016 11:07:16 PM UTC):
The related issue was a false negative, which was fixed for 2.12.
I wasn't able to try the pickling sample under 2.12, so I backported that fix, which does remove the false positive but also results in a subtle error during macro expansion, probably because of using a 2.11.7 pickling against a 2.11.8 library.
Given this
sbt.build
andTest.scala
Running
sbt compile
produce:In Scala Pickling issues there is another manifestation of this here. Problem is that when compiler emit this false warning it provide reporters with parameter
pos
of typescala.reflect.internal.util.Position
whose fieldpoint
is set to-1
. By my understanding this shouldn't happen in the first place at all.Ensime Server is suffering with these false warnings also.
The text was updated successfully, but these errors were encountered: