File tree Expand file tree Collapse file tree 3 files changed +9
-6
lines changed
library/src/scala/runtime/stdLibPatches
presentation-compiler/test/dotty/tools/pc/tests/completion Expand file tree Collapse file tree 3 files changed +9
-6
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.
Original file line number Diff line number Diff line change @@ -136,8 +136,6 @@ class CompletionDocSuite extends BaseCompletionSuite:
136136 s """
137137 |> Found documentation for scala/Predef.
138138 |Predef scala
139- |> Found documentation for scala/runtime/stdLibPatches/Predef.
140- |Predef - scala.runtime.stdLibPatches
141139 | """ .stripMargin,
142140 includeDocs = true
143141 )
You can’t perform that action at this time.
0 commit comments