Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: scala/scala3
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: e106178826cf874ce5897a1eecbbe252ee33ec54
Choose a base ref
..
head repository: scala/scala3
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 48a52a244c29cc32775c7dcb04946d9e1c368d96
Choose a head ref
Showing with 6 additions and 0 deletions.
  1. +6 −0 library/src/scala/caps.scala
6 changes: 6 additions & 0 deletions library/src/scala/caps.scala
Original file line number Diff line number Diff line change
@@ -51,6 +51,12 @@ import annotation.{experimental, compileTimeOnly, retainsCap}
*/
extension (x: Any) def readOnlyCapability: Any = x

/** A trait that used to allow expressing existential types. Replaced by
* root.Result instances.
*/
@deprecated
sealed trait Exists extends Capability

/** This should go into annotations. For now it is here, so that we
* can experiment with it quickly between minor releases
*/