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 @@ -35,6 +35,7 @@ class BackendUtils(val postProcessor: PostProcessor) {
35
35
case " 18" => asm.Opcodes .V18
36
36
case " 19" => asm.Opcodes .V19
37
37
case " 20" => asm.Opcodes .V20
38
+ case " 21" => asm.Opcodes .V21
38
39
}
39
40
40
41
lazy val extraProc : Int = {
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 `BackendUtils`
19
19
private val minTargetVersion = 8
20
- private val maxTargetVersion = 20
20
+ private val maxTargetVersion = 21
21
21
22
22
def supportedTargetVersions : List [String ] =
23
23
(minTargetVersion to maxTargetVersion).toList.map(_.toString)
Original file line number Diff line number Diff line change @@ -547,7 +547,7 @@ object Build {
547
547
548
548
// get libraries onboard
549
549
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
551
551
Dependencies .oldCompilerInterface, // we stick to the old version to avoid deprecation warnings
552
552
" org.jline" % " jline-reader" % " 3.19.0" , // used by the REPL
553
553
" 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 {
54
54
case "17" => asm.Opcodes.V17
55
55
case "18" => asm.Opcodes.V18
56
56
case "19" => asm.Opcodes.V19
57
- case "20" => asm.Opcodes.V20*/
57
+ case "20" => asm.Opcodes.V20
58
+ case "21" => asm.Opcodes.V21*/
58
59
}
59
60
60
61
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 = 20
20
+ private val maxTargetVersion = 21
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