File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed
compiler/src/dotty/tools/dotc/config
library/src/scala/runtime/stdLibPatches Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ enum SourceVersion:
1010 case `3.2-migration`, `3.2`
1111 case `3.3-migration`, `3.3`
1212 case `3.4-migration`, `3.4`
13+ case `3.5-migration`, `3.5`
1314 // !!! Keep in sync with scala.runtime.stdlibPatches.language !!!
1415 case `future-migration`, `future`
1516
Original file line number Diff line number Diff line change @@ -249,6 +249,20 @@ object language:
249249 @ compileTimeOnly(" `3.4` can only be used at compile time in import statements" )
250250 object `3.4`
251251
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+
252266 // !!! Keep in sync with dotty.tools.dotc.config.SourceVersion !!!
253267 // Also add tests in `tests/pos/source-import-3-x.scala` and `tests/pos/source-import-3-x-migration.scala`
254268
You can’t perform that action at this time.
0 commit comments