Skip to content

Commit ff7673c

Browse files
committed
Upgrade JLine to 3.15.0
Align ourselves with scalac: scala/scala#9024
1 parent 378c66c commit ff7673c

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

compiler/src/dotty/tools/repl/JLineTerminal.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ final class JLineTerminal extends java.io.Closeable {
7676
val highlighted = SyntaxHighlighting.highlight(buffer)
7777
AttributedString.fromAnsi(highlighted)
7878
}
79+
def setErrorPattern(errorPattern: java.util.regex.Pattern): Unit = {}
80+
def setErrorIndex(errorIndex: Int): Unit = {}
7981
}
8082

8183
/** Provide multi-line editing support */

project/Build.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -493,9 +493,9 @@ object Build {
493493
libraryDependencies ++= Seq(
494494
"org.scala-lang.modules" % "scala-asm" % "7.3.1-scala-1", // used by the backend
495495
Dependencies.`compiler-interface`,
496-
"org.jline" % "jline-reader" % "3.9.0", // used by the REPL
497-
"org.jline" % "jline-terminal" % "3.9.0",
498-
"org.jline" % "jline-terminal-jna" % "3.9.0" // needed for Windows
496+
"org.jline" % "jline-reader" % "3.15.0", // used by the REPL
497+
"org.jline" % "jline-terminal" % "3.15.0",
498+
"org.jline" % "jline-terminal-jna" % "3.15.0" // needed for Windows
499499
),
500500

501501
// For convenience, change the baseDirectory when running the compiler

0 commit comments

Comments
 (0)