Skip to content

Commit 60ccb3c

Browse files
committed
Add new source object to library/src/scala/language
1 parent ebf67a6 commit 60ccb3c

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

library/src/scala/language.scala

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -560,4 +560,17 @@ object language {
560560
@compileTimeOnly("`3.8` can only be used at compile time in import statements")
561561
object `3.8`
562562

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`
563576
}

library/src/scala/runtime/stdLibPatches/language.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ object language:
350350
@compileTimeOnly("`3.7` can only be used at compile time in import statements")
351351
object `3.7`
352352

353-
/** Set source version to 3.8-migration.
353+
/** Set source version to 3.8-migration.
354354
*
355355
* @see [[https://docs.scala-lang.org/scala3/guides/migration/compatibility-intro.html]]
356356
*/
@@ -364,7 +364,7 @@ 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.
367+
/** Set source version to 3.9-migration.
368368
*
369369
* @see [[https://docs.scala-lang.org/scala3/guides/migration/compatibility-intro.html]]
370370
*/

0 commit comments

Comments
 (0)