Skip to content

Commit 17f0cac

Browse files
committed
Update asm to 9.7
1 parent 939f73e commit 17f0cac

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

compiler/src/dotty/tools/backend/jvm/BackendUtils.scala

+1
Original file line numberDiff line numberDiff line change
@@ -185,5 +185,6 @@ object BackendUtils {
185185
20 -> asm.Opcodes.V20,
186186
21 -> asm.Opcodes.V21,
187187
22 -> asm.Opcodes.V22,
188+
23 -> asm.Opcodes.V23
188189
)
189190
}

project/Build.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ object Build {
625625

626626
// get libraries onboard
627627
libraryDependencies ++= Seq(
628-
"org.scala-lang.modules" % "scala-asm" % "9.6.0-scala-1", // used by the backend
628+
"org.scala-lang.modules" % "scala-asm" % "9.7.0-scala-1", // used by the backend
629629
Dependencies.compilerInterface,
630630
"org.jline" % "jline-reader" % "3.25.1", // used by the REPL
631631
"org.jline" % "jline-terminal" % "3.25.1",

tests/pos-with-compiler-cc/dotc/config/ScalaSettings.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class ScalaSettings extends SettingGroup with AllScalaSettings
1717
object ScalaSettings:
1818
// Keep synchronized with `classfileVersion` in `BCodeIdiomatic`
1919
private val minTargetVersion = 8
20-
private val maxTargetVersion = 22
20+
private val maxTargetVersion = 23
2121

2222
def supportedTargetVersions: List[String] =
2323
(minTargetVersion to maxTargetVersion).toList.map(_.toString)

0 commit comments

Comments
 (0)