Skip to content

Commit fb20076

Browse files
committed
Another test case
1 parent ff284d4 commit fb20076

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/pos/i5526b.scala

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
trait F[A, -E]
2+
object Test {
3+
def empty[A](value: A): F[A, Any] = ???
4+
5+
def hof[R](f: (p: AnyRef) => F[R, p.type]): F[R, Any] = ???
6+
7+
hof { p =>
8+
empty(42)
9+
}
10+
}

0 commit comments

Comments
 (0)