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 ff284d4 commit fb20076Copy full SHA for fb20076
tests/pos/i5526b.scala
@@ -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