Skip to content

Commit

Permalink
Set default source version to 3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
griggt committed May 11, 2022
1 parent a54d521 commit bc459d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/src/dotty/tools/dotc/config/SourceVersion.scala
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ enum SourceVersion:
def isAtLeast(v: SourceVersion) = stable.ordinal >= v.ordinal

object SourceVersion extends Property.Key[SourceVersion]:
def defaultSourceVersion = `3.0`
def defaultSourceVersion = `3.2`

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

0 comments on commit bc459d2

Please sign in to comment.