File tree 5 files changed +6
-4
lines changed
tests/pos-with-compiler-cc
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) {
36
36
case " 19" => asm.Opcodes .V19
37
37
case " 20" => asm.Opcodes .V20
38
38
case " 21" => asm.Opcodes .V21
39
+ case " 22" => asm.Opcodes .V22
39
40
}
40
41
41
42
lazy val extraProc : Int = {
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ class ScalaSettings extends SettingGroup with AllScalaSettings
18
18
object ScalaSettings :
19
19
// Keep synchronized with `classfileVersion` in `BackendUtils`
20
20
private val minTargetVersion = 8
21
- private val maxTargetVersion = 21
21
+ private val maxTargetVersion = 22
22
22
23
23
def supportedTargetVersions : List [String ] =
24
24
(minTargetVersion to maxTargetVersion).toList.map(_.toString)
Original file line number Diff line number Diff line change @@ -577,7 +577,7 @@ object Build {
577
577
578
578
// get libraries onboard
579
579
libraryDependencies ++= Seq (
580
- " org.scala-lang.modules" % " scala-asm" % " 9.5 .0-scala-1" , // used by the backend
580
+ " org.scala-lang.modules" % " scala-asm" % " 9.6 .0-scala-1" , // used by the backend
581
581
Dependencies .compilerInterface,
582
582
" org.jline" % " jline-reader" % " 3.19.0" , // used by the REPL
583
583
" org.jline" % " jline-terminal" % " 3.19.0" ,
Original file line number Diff line number Diff line change @@ -55,7 +55,8 @@ trait BCodeIdiomatic extends caps.Pure {
55
55
case "18" => asm.Opcodes.V18
56
56
case "19" => asm.Opcodes.V19
57
57
case "20" => asm.Opcodes.V20
58
- case "21" => asm.Opcodes.V21*/
58
+ case "21" => asm.Opcodes.V21
59
+ case "22" => asm.Opcodes.V22*/
59
60
}
60
61
61
62
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
17
17
object ScalaSettings :
18
18
// Keep synchronized with `classfileVersion` in `BCodeIdiomatic`
19
19
private val minTargetVersion = 8
20
- private val maxTargetVersion = 21
20
+ private val maxTargetVersion = 22
21
21
22
22
def supportedTargetVersions : List [String ] =
23
23
(minTargetVersion to maxTargetVersion).toList.map(_.toString)
You can’t perform that action at this time.
0 commit comments