File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
library/src/scala/runtime/stdLibPatches Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,12 @@ package scala.runtime.stdLibPatches
33import scala .language .experimental .captureChecking
44
55import scala .annotation .experimental
6+ import scala .annotation .publicInBinary
67import scala .annotation .internal .RuntimeChecked
78
8- object Predef :
9+ @ publicInBinary
10+ @ deprecated(message = " Patches are not applied to the stdlib anymore" , since = " 3.8.0" )
11+ private [scala] object Predef :
912 import compiletime .summonFrom
1013
1114 transparent inline def assert (inline assertion : Boolean , inline message : => Any ): Unit =
Original file line number Diff line number Diff line change @@ -3,10 +3,12 @@ package scala.runtime.stdLibPatches
33import scala .language .experimental .captureChecking
44
55import scala .annotation .compileTimeOnly
6+ import scala .annotation .publicInBinary
67
7- /** Scala 3 additions and replacements to the `scala.language` object.
8- */
9- object language :
8+ /** Scala 3 additions and replacements to the `scala.language` object. */
9+ @ publicInBinary
10+ @ deprecated(message = " Patches are not applied to the stdlib anymore" , since = " 3.8.0" )
11+ private [scala] object language :
1012
1113 /** The experimental object contains features that have been recently added but have not
1214 * been thoroughly tested in production yet.
You can’t perform that action at this time.
0 commit comments