Skip to content

Commit 84bc4e3

Browse files
Make Break.label public again
Avoid source-breaking changes for now. Co-authored-by: Hamza Remmal <hamza@remmal.net>
1 parent 9b0fd11 commit 84bc4e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/scala/util/boundary.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ object boundary:
3333
/** User code should call `break.apply` instead of throwing this exception
3434
* directly.
3535
*/
36-
final class Break[T] private[boundary](private[boundary] val label: Label[T]^{}, val value: T)
36+
final class Break[T] private[boundary](val label: Label[T]^{}, val value: T)
3737
extends RuntimeException(
3838
/*message*/ null, /*cause*/ null, /*enableSuppression=*/ false, /*writableStackTrace*/ false):
3939
/** Compare the given [[Label]] to the one this [[Break]] was constructed with. */

0 commit comments

Comments
 (0)