File tree Expand file tree Collapse file tree 4 files changed +30
-3
lines changed
compiler/src/dotty/tools/dotc/config Expand file tree Collapse file tree 4 files changed +30
-3
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ enum SourceVersion:
17
17
case `3.6-migration`, `3.6`
18
18
case `3.7-migration`, `3.7`
19
19
case `3.8-migration`, `3.8`
20
+ case `3.9-migration`, `3.9`
20
21
// Add 3.x-migration and 3.x here
21
22
// !!! Keep in sync with scala.runtime.stdlibPatches.language !!!
22
23
case `2.13`
@@ -49,7 +50,7 @@ enum SourceVersion:
49
50
object SourceVersion extends Property .Key [SourceVersion ]:
50
51
51
52
/* The default source version used by the built compiler */
52
- val defaultSourceVersion = `3.7 `
53
+ val defaultSourceVersion = `3.8 `
53
54
54
55
/* Illegal source versions that may not appear in the settings `-source:<...>` */
55
56
val illegalInSettings = List (`2.13`, `3.1-migration`, `never`)
Original file line number Diff line number Diff line change @@ -560,4 +560,17 @@ object language {
560
560
@ compileTimeOnly(" `3.8` can only be used at compile time in import statements" )
561
561
object `3.8`
562
562
563
+ /** Set source version to 3.9-migration.
564
+ *
565
+ * @see [[https://docs.scala-lang.org/scala3/guides/migration/compatibility-intro.html ]]
566
+ */
567
+ @ compileTimeOnly(" `3.9-migration` can only be used at compile time in import statements" )
568
+ object `3.9-migration`
569
+
570
+ /** Set source version to 3.9
571
+ *
572
+ * @see [[https://docs.scala-lang.org/scala3/guides/migration/compatibility-intro.html ]]
573
+ */
574
+ @ compileTimeOnly(" `3.9` can only be used at compile time in import statements" )
575
+ object `3.9`
563
576
}
Original file line number Diff line number Diff line change @@ -350,7 +350,7 @@ object language:
350
350
@ compileTimeOnly(" `3.7` can only be used at compile time in import statements" )
351
351
object `3.7`
352
352
353
- /** Set source version to 3.8-migration.
353
+ /** Set source version to 3.8-migration.
354
354
*
355
355
* @see [[https://docs.scala-lang.org/scala3/guides/migration/compatibility-intro.html ]]
356
356
*/
@@ -364,6 +364,19 @@ object language:
364
364
@ compileTimeOnly(" `3.8` can only be used at compile time in import statements" )
365
365
object `3.8`
366
366
367
+ /** Set source version to 3.9-migration.
368
+ *
369
+ * @see [[https://docs.scala-lang.org/scala3/guides/migration/compatibility-intro.html ]]
370
+ */
371
+ @ compileTimeOnly(" `3.9-migration` can only be used at compile time in import statements" )
372
+ object `3.9-migration`
373
+
374
+ /** Set source version to 3.9
375
+ *
376
+ * @see [[https://docs.scala-lang.org/scala3/guides/migration/compatibility-intro.html ]]
377
+ */
378
+ @ compileTimeOnly(" `3.9` can only be used at compile time in import statements" )
379
+ object `3.9`
367
380
368
381
// !!! Keep in sync with dotty.tools.dotc.config.SourceVersion !!!
369
382
// Also add tests in `tests/pos/source-import-3-x.scala` and `tests/pos/source-import-3-x-migration.scala`
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ object Build {
63
63
*
64
64
* Warning: Change of this variable might require updating `expectedTastyVersion`
65
65
*/
66
- val developedVersion = " 3.7.3 "
66
+ val developedVersion = " 3.8.0 "
67
67
68
68
/** The version of the compiler including the RC prefix.
69
69
* Defined as common base before calculating environment specific suffixes in `dottyVersion`
You can’t perform that action at this time.
0 commit comments