Skip to content

Commit 541d26f

Browse files
committed
Update boundary test
1 parent e99a523 commit 541d26f

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed
Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
import language.experimental.captureChecking
2-
31
import scala.util.boundary
42

53
object test:
6-
boundary[boundary.Label[Unit]]: l1 ?=> // error
7-
boundary[Unit]: l2 ?=>
8-
boundary.break(l2)(using l1) // error
9-
???
4+
boundary[AnyRef^]:
5+
l1 ?=> // error
6+
boundary[Unit]: l2 ?=>
7+
boundary.break(l2)(using l1) // error
8+
???

0 commit comments

Comments
 (0)