We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Boundary.label
1 parent 84bc4e3 commit 78ef541Copy full SHA for 78ef541
library/src/scala/util/boundary.scala
@@ -32,6 +32,9 @@ object boundary:
32
33
/** User code should call `break.apply` instead of throwing this exception
34
* directly.
35
+ *
36
+ * Note that it is **capability unsafe** to access `label` from a `Break`.
37
+ * This field will be marked private in a future release.
38
*/
39
final class Break[T] private[boundary](val label: Label[T]^{}, val value: T)
40
extends RuntimeException(
0 commit comments