Skip to content

Commit bc459d2

Browse files
committed
Set default source version to 3.2
1 parent a54d521 commit bc459d2

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
@@ -18,7 +18,7 @@ enum SourceVersion:
1818
def isAtLeast(v: SourceVersion) = stable.ordinal >= v.ordinal
1919

2020
object SourceVersion extends Property.Key[SourceVersion]:
21-
def defaultSourceVersion = `3.0`
21+
def defaultSourceVersion = `3.2`
2222

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

0 commit comments

Comments
 (0)