File tree 1 file changed +14
-0
lines changed
library/src/scala/runtime/stdLibPatches
1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -246,6 +246,20 @@ object language:
246
246
@ compileTimeOnly(" `3.4` can only be used at compile time in import statements" )
247
247
object `3.4`
248
248
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
+
249
263
// !!! Keep in sync with dotty.tools.dotc.config.SourceVersion !!!
250
264
// Also add tests in `tests/pos/source-import-3-x.scala` and `tests/pos/source-import-3-x-migration.scala`
251
265
You can’t perform that action at this time.
0 commit comments