Skip to content

Commit 03d21f1

Browse files
committed
Set defaultSourceVersion to 3.7
1 parent 8286a30 commit 03d21f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ enum SourceVersion:
3131
def isAtMost(v: SourceVersion) = stable.ordinal <= v.ordinal
3232

3333
object SourceVersion extends Property.Key[SourceVersion]:
34-
def defaultSourceVersion = `3.6`
34+
def defaultSourceVersion = `3.7`
3535

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

0 commit comments

Comments
 (0)