Skip to content

Commit 803f048

Browse files
Merge pull request #14926 from Philippus/issue-14869
Update asm to 9.3
2 parents 74bc3fd + 8b87a42 commit 803f048

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
@@ -53,6 +53,7 @@ trait BCodeIdiomatic {
5353
case "16" => asm.Opcodes.V16
5454
case "17" => asm.Opcodes.V17
5555
case "18" => asm.Opcodes.V18
56+
case "19" => asm.Opcodes.V19
5657
}
5758

5859
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 = 18
19+
private val maxTargetVersion = 19
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
@@ -521,7 +521,7 @@ object Build {
521521

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

0 commit comments

Comments
 (0)