Skip to content

Commit 5e109c5

Browse files
committed
remove refined overload of ImplicitFunction1 in test
1 parent 66659d9 commit 5e109c5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tests/neg/i2539.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ object Foo {
66
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 } =
77
(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
88

9-
val if1: ImplicitFunction1[Int, Int]{ def foo(): Int } = implicit x1 => 42 // error
10-
119
abstract class Fun0[X] extends Function0[X]
1210
val fun0a: Fun0[Int] = () => 42
1311
val fun0b: Fun0[Int] { def foo(): Int } = () => 42 // error

0 commit comments

Comments
 (0)