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.
tests/neg-custom-args/captures/puretest.scala
1 parent a68cd60 commit 3dc5a39Copy full SHA for 3dc5a39
tests/neg-custom-args/captures/puretest.scala
@@ -6,7 +6,7 @@ def baz[CC[_] <: Pure]() = ()
6
def bam[CC[A] <: Pure & Iterable[A]]() = ()
7
def test =
8
foo[Int]() // error
9
- bar[Int, List[Int]]() // error
10
- baz[Seq]() // error
11
- bam[Seq]() // error
+ bar[Int, List[Int]]() // OK
+ baz[Seq]() // OK
+ bam[Seq]() // OK
12
foo[P]() // OK
0 commit comments