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 fbafb72 commit a085f1eCopy full SHA for a085f1e
tests/pos/i5413-a.scala
@@ -0,0 +1,7 @@
1
+trait Or[A]
2
+trait C
3
+
4
+object ImplicitChainTest {
5
+ def ipl[A](implicit from: A => Or[A]): C = null
6
+ ipl
7
+}
tests/pos/i5413-b.scala
@@ -0,0 +1,6 @@
+object Foo {
+ type Or[A]
+ def foo[A](from: A => Or[A]): Any = null
+ def id[A]: A => A = identity
+ foo(id)
0 commit comments