Skip to content

Commit 14b7f03

Browse files
authored
chore: add scala.language.experimental.separationChecking to the non-patched stdlib (#23588)
Follow-up to #23562 from #23560
2 parents 570e840 + ca3ac85 commit 14b7f03

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

library/src/scala/language.scala

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,13 @@ object language {
279279
@compileTimeOnly("`captureChecking` can only be used at compile time in import statements")
280280
object captureChecking
281281

282+
/** Experimental support for separation checking; requires captureChecking also to be enabled.
283+
*
284+
* @see [[https://dotty.epfl.ch/docs/reference/experimental/cc]]
285+
*/
286+
@compileTimeOnly("`separationChecking` can only be used at compile time in import statements")
287+
object separationChecking
288+
282289
/** Experimental support for automatic conversions of arguments, without requiring
283290
* a language import `import scala.language.implicitConversions`.
284291
*

0 commit comments

Comments
 (0)