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.
1 parent e99a523 commit 541d26fCopy full SHA for 541d26f
tests/neg-custom-args/captures/boundary.scala
@@ -1,9 +1,8 @@
1
-import language.experimental.captureChecking
2
-
3
import scala.util.boundary
4
5
object test:
6
- boundary[boundary.Label[Unit]]: l1 ?=> // error
7
- boundary[Unit]: l2 ?=>
8
- boundary.break(l2)(using l1) // error
9
- ???
+ boundary[AnyRef^]:
+ l1 ?=> // error
+ boundary[Unit]: l2 ?=>
+ boundary.break(l2)(using l1) // error
+ ???
0 commit comments