Skip to content

Commit 7f3ce50

Browse files
committed
dotty-library is called scala3-library now
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.
1 parent 2bbbcfa commit 7f3ce50

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

main-command/src/main/scala/sbt/internal/classpath/ClassLoaderCache.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,8 @@ private[sbt] class ClassLoaderCache(
179179
}
180180
override def apply(files: List[File]): ClassLoader = {
181181
files match {
182-
case d :: s :: Nil if d.getName.startsWith("dotty-library") =>
182+
case d :: s :: Nil
183+
if d.getName.startsWith("dotty-library") || d.getName.startsWith("scala3-library") =>
183184
apply(files, classOf[org.jline.terminal.Terminal].getClassLoader)
184185
case _ =>
185186
val key = new Key(files)

0 commit comments

Comments
 (0)