File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
compiler/src/dotty/tools/dotc/config
library/src/scala/runtime/stdLibPatches Expand file tree Collapse file tree 2 files changed +14
-0
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`
Original file line number Diff line number Diff line change @@ -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`
You can’t perform that action at this time.
0 commit comments