File tree 2 files changed +15
-0
lines changed
compiler/src/dotty/tools/dotc/config
library/src/scala/runtime/stdLibPatches
2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ enum SourceVersion:
13
13
case `3.5-migration`, `3.5`
14
14
case `3.6-migration`, `3.6`
15
15
case `3.7-migration`, `3.7`
16
+ case `3.8-migration`, `3.8`
16
17
// !!! Keep in sync with scala.runtime.stdlibPatches.language !!!
17
18
case `future-migration`, `future`
18
19
Original file line number Diff line number Diff line change @@ -330,6 +330,20 @@ object language:
330
330
@ compileTimeOnly(" `3.7` can only be used at compile time in import statements" )
331
331
object `3.7`
332
332
333
+ /** Set source version to 3.8-migration.
334
+ *
335
+ * @see [[https://docs.scala-lang.org/scala3/guides/migration/compatibility-intro.html ]]
336
+ */
337
+ @ compileTimeOnly(" `3.8-migration` can only be used at compile time in import statements" )
338
+ object `3.8-migration`
339
+
340
+ /** Set source version to 3.8
341
+ *
342
+ * @see [[https://docs.scala-lang.org/scala3/guides/migration/compatibility-intro.html ]]
343
+ */
344
+ @ compileTimeOnly(" `3.8` can only be used at compile time in import statements" )
345
+ object `3.8`
346
+
333
347
334
348
// !!! Keep in sync with dotty.tools.dotc.config.SourceVersion !!!
335
349
// 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