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 @@ -10,6 +10,7 @@ enum SourceVersion:
10
10
case `3.2-migration`, `3.2`
11
11
case `3.3-migration`, `3.3`
12
12
case `3.4-migration`, `3.4`
13
+ case `3.5-migration`, `3.5`
13
14
// !!! Keep in sync with scala.runtime.stdlibPatches.language !!!
14
15
case `future-migration`, `future`
15
16
Original file line number Diff line number Diff line change @@ -249,6 +249,20 @@ object language:
249
249
@ compileTimeOnly(" `3.4` can only be used at compile time in import statements" )
250
250
object `3.4`
251
251
252
+ /** Set source version to 3.5-migration.
253
+ *
254
+ * @see [[https://docs.scala-lang.org/scala3/guides/migration/compatibility-intro.html ]]
255
+ */
256
+ @ compileTimeOnly(" `3.5-migration` can only be used at compile time in import statements" )
257
+ object `3.5-migration`
258
+
259
+ /** Set source version to 3.5
260
+ *
261
+ * @see [[https://docs.scala-lang.org/scala3/guides/migration/compatibility-intro.html ]]
262
+ */
263
+ @ compileTimeOnly(" `3.5` can only be used at compile time in import statements" )
264
+ object `3.5`
265
+
252
266
// !!! Keep in sync with dotty.tools.dotc.config.SourceVersion !!!
253
267
// Also add tests in `tests/pos/source-import-3-x.scala` and `tests/pos/source-import-3-x-migration.scala`
254
268
You can’t perform that action at this time.
0 commit comments