Skip to content

Commit 27da113

Browse files
committed
Put source version 2.13 in its proper place
It should come before 3.0
1 parent 6ba902a commit 27da113

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ import Feature.isPreviewEnabled
88
import util.Property
99

1010
enum SourceVersion:
11+
case `2.13`
12+
1113
case `3.0-migration`, `3.0`
1214
case `3.1-migration`, `3.1`
1315
case `3.2-migration`, `3.2`
@@ -20,7 +22,6 @@ enum SourceVersion:
2022
case `3.9-migration`, `3.9`
2123
// Add 3.x-migration and 3.x here
2224
// !!! Keep in sync with scala.runtime.stdlibPatches.language !!!
23-
case `2.13`
2425
case `future-migration`, `future`
2526

2627
case `never` // needed for MigrationVersion.errorFrom if we never want to issue an error

0 commit comments

Comments
 (0)