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
Warning for unused:privates yields a false positive when a method of one private object is accessed from an object in the same package but a different file (despite the code compiling and accessing the method fine). For example,
Warning for
unused:privates
yields a false positive when a method of oneprivate object
is accessed from anobject
in the same package but a different file (despite the code compiling and accessing the method fine). For example,contents of
Test.scala
:contents of
Main.scala
:result of
scalac -Ywarn-unused:privates Test.scala Main.scala
(for both 2.13.0 and 2.12.9):The text was updated successfully, but these errors were encountered: