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 9da99f1 commit 2bcc0b0Copy full SHA for 2bcc0b0
tests/pos/i903.scala
@@ -3,6 +3,8 @@ object Test {
3
def test1 = {
4
val f = contains("", (_: Int))
5
val ff = contains("", ((_: Int)))
6
+ val g: Int => Boolean = contains("", (_))
7
+ val gg: Int => Boolean = contains("", ((_)))
8
f.apply(0)
9
// sandbox/eta.scala:4: error: type mismatch:
10
// found : Int => Int
0 commit comments