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 66659d9 commit 5e109c5Copy full SHA for 5e109c5
tests/neg/i2539.scala
@@ -6,8 +6,6 @@ object Foo {
6
val f26: Function26[Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int]{ def foo(): Int } =
7
(x1, x2, x3, x4, x5, x6, x7, x8, x9, x10, x11, x12, x13, x14, x15, x16, x17, x18, x19, x20, x21, x22, x23, x24, x25, x26) => 42 // error
8
9
- val if1: ImplicitFunction1[Int, Int]{ def foo(): Int } = implicit x1 => 42 // error
10
-
11
abstract class Fun0[X] extends Function0[X]
12
val fun0a: Fun0[Int] = () => 42
13
val fun0b: Fun0[Int] { def foo(): Int } = () => 42 // error
0 commit comments