File tree Expand file tree Collapse file tree 5 files changed +6
-4
lines changed
tests/pos-with-compiler-cc Expand file tree Collapse file tree 5 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ class BackendUtils(val postProcessor: PostProcessor) {
3535 case " 18" => asm.Opcodes .V18
3636 case " 19" => asm.Opcodes .V19
3737 case " 20" => asm.Opcodes .V20
38+ case " 21" => asm.Opcodes .V21
3839 }
3940
4041 lazy val extraProc : Int = {
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ class ScalaSettings extends SettingGroup with AllScalaSettings
1717object ScalaSettings :
1818 // Keep synchronized with `classfileVersion` in `BackendUtils`
1919 private val minTargetVersion = 8
20- private val maxTargetVersion = 20
20+ private val maxTargetVersion = 21
2121
2222 def supportedTargetVersions : List [String ] =
2323 (minTargetVersion to maxTargetVersion).toList.map(_.toString)
Original file line number Diff line number Diff line change @@ -547,7 +547,7 @@ object Build {
547547
548548 // get libraries onboard
549549 libraryDependencies ++= Seq (
550- " org.scala-lang.modules" % " scala-asm" % " 9.4 .0-scala-1" , // used by the backend
550+ " org.scala-lang.modules" % " scala-asm" % " 9.5 .0-scala-1" , // used by the backend
551551 Dependencies .oldCompilerInterface, // we stick to the old version to avoid deprecation warnings
552552 " org.jline" % " jline-reader" % " 3.19.0" , // used by the REPL
553553 " org.jline" % " jline-terminal" % " 3.19.0" ,
Original file line number Diff line number Diff line change @@ -54,7 +54,8 @@ trait BCodeIdiomatic extends caps.Pure {
5454 case "17" => asm.Opcodes.V17
5555 case "18" => asm.Opcodes.V18
5656 case "19" => asm.Opcodes.V19
57- case "20" => asm.Opcodes.V20*/
57+ case "20" => asm.Opcodes.V20
58+ case "21" => asm.Opcodes.V21*/
5859 }
5960
6061 lazy val majorVersion : Int = (classfileVersion & 0xFF )
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ class ScalaSettings extends SettingGroup with AllScalaSettings
1717object ScalaSettings :
1818 // Keep synchronized with `classfileVersion` in `BCodeIdiomatic`
1919 private val minTargetVersion = 8
20- private val maxTargetVersion = 20
20+ private val maxTargetVersion = 21
2121
2222 def supportedTargetVersions : List [String ] =
2323 (minTargetVersion to maxTargetVersion).toList.map(_.toString)
You can’t perform that action at this time.
0 commit comments