Skip to content

Commit 20d54d4

Browse files
committed
Upgrade to ASM 9.2
1 parent 5587767 commit 20d54d4

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ trait BCodeIdiomatic {
5252
case "15" => asm.Opcodes.V15
5353
case "16" => asm.Opcodes.V16
5454
case "17" => asm.Opcodes.V17
55+
case "18" => asm.Opcodes.V18
5556
}
5657

5758
lazy val majorVersion: Int = (classfileVersion & 0xFF)

compiler/src/dotty/tools/dotc/config/ScalaSettings.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class ScalaSettings extends SettingGroup with AllScalaSettings
1616
object ScalaSettings:
1717
// Keep synchronized with `classfileVersion` in `BCodeIdiomatic`
1818
private val minTargetVersion = 8
19-
private val maxTargetVersion = 17
19+
private val maxTargetVersion = 18
2020

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

project/Build.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ object Build {
519519

520520
// get libraries onboard
521521
libraryDependencies ++= Seq(
522-
"org.scala-lang.modules" % "scala-asm" % "9.1.0-scala-1", // used by the backend
522+
"org.scala-lang.modules" % "scala-asm" % "9.2.0-scala-1", // used by the backend
523523
Dependencies.oldCompilerInterface, // we stick to the old version to avoid deprecation warnings
524524
"org.jline" % "jline-reader" % "3.19.0", // used by the REPL
525525
"org.jline" % "jline-terminal" % "3.19.0",

0 commit comments

Comments
 (0)