File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
library/src/scala/runtime/stdLibPatches Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -246,6 +246,20 @@ object language:
246246 @ compileTimeOnly(" `3.4` can only be used at compile time in import statements" )
247247 object `3.4`
248248
249+ /** Set source version to 3.5-migration.
250+ *
251+ * @see [[https://docs.scala-lang.org/scala3/guides/migration/compatibility-intro.html ]]
252+ */
253+ @ compileTimeOnly(" `3.5-migration` can only be used at compile time in import statements" )
254+ object `3.5-migration`
255+
256+ /** Set source version to 3.5
257+ *
258+ * @see [[https://docs.scala-lang.org/scala3/guides/migration/compatibility-intro.html ]]
259+ */
260+ @ compileTimeOnly(" `3.5` can only be used at compile time in import statements" )
261+ object `3.5`
262+
249263 // !!! Keep in sync with dotty.tools.dotc.config.SourceVersion !!!
250264 // Also add tests in `tests/pos/source-import-3-x.scala` and `tests/pos/source-import-3-x-migration.scala`
251265
You can’t perform that action at this time.
0 commit comments