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
I noticed that adding this as a dependency (transitively via io.get-coursier::coursier-cache) breaks any Scala code that uses scala.io.Source but drops the scala, eg.
[error] ./coursier.scala:5:3
[error] object Source is not a member of package io
[error] io.Source.fromString("Hello World").getLines.foreach(println)
[error] ^^^^^^^^^
Perhaps eliding the scala. in io.Source is ill-advised, but I think it would help a lot of downstream users if this project didn't start with package io.
The text was updated successfully, but these errors were encountered:
I noticed that adding this as a dependency (transitively via
io.get-coursier::coursier-cache
) breaks any Scala code that usesscala.io.Source
but drops thescala
, eg.Running the above with scala-cli gives:
Perhaps eliding the
scala.
inio.Source
is ill-advised, but I think it would help a lot of downstream users if this project didn't start withpackage io
.The text was updated successfully, but these errors were encountered: