Skip to content

Commit abf795c

Browse files
committed
Switch default source version to 3.6
1 parent f880d6e commit abf795c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/config/SourceVersion.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ enum SourceVersion:
2828
def isAtMost(v: SourceVersion) = stable.ordinal <= v.ordinal
2929

3030
object SourceVersion extends Property.Key[SourceVersion]:
31-
def defaultSourceVersion = `3.5`
31+
def defaultSourceVersion = `3.6`
3232

3333
/** language versions that may appear in a language import, are deprecated, but not removed from the standard library. */
3434
val illegalSourceVersionNames = List("3.1-migration").map(_.toTermName)

0 commit comments

Comments
 (0)