Skip to content

Commit d76a1c0

Browse files
committed
Bump dotty version
1 parent b0361ed commit d76a1c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.sbt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import sbtcrossproject.CrossPlugin.autoImport.{crossProject, CrossType}
2-
val dottyVersion = "0.24.0"
2+
val dottyVersion = "0.27.0-RC1"
33
val scala213Version = "2.13.3"
44
val spireVersion = "0.17.0-RC1"
55
val scalametaVersion = "4.3.22"
@@ -50,7 +50,7 @@ lazy val programGenerator = (crossProject(JVMPlatform)
5050
)
5151
)
5252
.jvmSettings(
53-
scalacOptions ++= { if (isDotty.value) Seq("-language:Scala2Compat") else Nil },
53+
scalacOptions ++= { if (isDotty.value) Seq("-source 3.0-migration") else Nil },
5454
libraryDependencies ++= (CrossVersion
5555
.partialVersion(scalaVersion.value) match {
5656
case Some((2,_)) =>

0 commit comments

Comments
 (0)