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:
1717 case `3.6-migration`, `3.6`
1818 case `3.7-migration`, `3.7`
1919 case `3.8-migration`, `3.8`
20+ case `3.9-migration`, `3.9`
2021 // Add 3.x-migration and 3.x here
2122 // !!! Keep in sync with scala.runtime.stdlibPatches.language !!!
2223 case `2.13`
Original file line number Diff line number Diff line change @@ -364,6 +364,19 @@ object language:
364364 @ compileTimeOnly(" `3.8` can only be used at compile time in import statements" )
365365 object `3.8`
366366
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`
367380
368381 // !!! Keep in sync with dotty.tools.dotc.config.SourceVersion !!!
369382 // 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