Skip to content

Commit

Permalink
dotty-library is called scala3-library now
Browse files Browse the repository at this point in the history
I though this would help with
scala/scala3#10558 but `sbt repl` still
hides the input after typing a line and pressing enter even after this
change.
  • Loading branch information
smarter committed Nov 30, 2020
1 parent 2bbbcfa commit 7f3ce50
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,8 @@ private[sbt] class ClassLoaderCache(
}
override def apply(files: List[File]): ClassLoader = {
files match {
case d :: s :: Nil if d.getName.startsWith("dotty-library") =>
case d :: s :: Nil
if d.getName.startsWith("dotty-library") || d.getName.startsWith("scala3-library") =>
apply(files, classOf[org.jline.terminal.Terminal].getClassLoader)
case _ =>
val key = new Key(files)
Expand Down

0 comments on commit 7f3ce50

Please sign in to comment.