dotty-library is called scala3-library now

I though this would help with
https://github.com/lampepfl/dotty/issues/10558 but `sbt repl` still
hides the input after typing a line and pressing enter even after this
change.
This commit is contained in:
Guillaume Martres 2020-11-30 14:44:41 +01:00
parent 2bbbcfae77
commit 7f3ce50014
1 changed files with 2 additions and 1 deletions

View File

@ -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)