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 @@ -36,6 +36,7 @@ class BackendUtils(val postProcessor: PostProcessor) {
3636 case " 19" => asm.Opcodes .V19
3737 case " 20" => asm.Opcodes .V20
3838 case " 21" => asm.Opcodes .V21
39+ case " 22" => asm.Opcodes .V22
3940 }
4041
4142 lazy val extraProc : Int = {
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ class ScalaSettings extends SettingGroup with AllScalaSettings
2020object ScalaSettings :
2121 // Keep synchronized with `classfileVersion` in `BackendUtils`
2222 private val minTargetVersion = 8
23- private val maxTargetVersion = 21
23+ private val maxTargetVersion = 22
2424
2525 def supportedTargetVersions : List [String ] =
2626 (minTargetVersion to maxTargetVersion).toList.map(_.toString)
Original file line number Diff line number Diff line change @@ -594,7 +594,7 @@ object Build {
594594
595595 // get libraries onboard
596596 libraryDependencies ++= Seq (
597- " org.scala-lang.modules" % " scala-asm" % " 9.5 .0-scala-1" , // used by the backend
597+ " org.scala-lang.modules" % " scala-asm" % " 9.6 .0-scala-1" , // used by the backend
598598 Dependencies .compilerInterface,
599599 " org.jline" % " jline-reader" % " 3.19.0" , // used by the REPL
600600 " org.jline" % " jline-terminal" % " 3.19.0" ,
Original file line number Diff line number Diff line change @@ -55,7 +55,8 @@ trait BCodeIdiomatic extends Pure {
5555 case "18" => asm.Opcodes.V18
5656 case "19" => asm.Opcodes.V19
5757 case "20" => asm.Opcodes.V20
58- case "21" => asm.Opcodes.V21*/
58+ case "21" => asm.Opcodes.V21
59+ case "22" => asm.Opcodes.V22*/
5960 }
6061
6162 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 = 21
20+ private val maxTargetVersion = 22
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