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.
2 parents b26dbc4 + 4f33c87 commit 9cdc465Copy full SHA for 9cdc465
tests/pos/i6384.scala
@@ -0,0 +1,15 @@
1
+trait Tc1[A]
2
+trait Tc2[A]
3
+
4
+class X
5
+object X {
6
+ implicit def catchAll[F[_]]: F[X] = ???
7
+}
8
9
+type ManualLambda[a] = Tc1[a] & Tc2[a]
10
11
+object app extends App {
12
+ implicitly[Tc1[X]] //ok
13
+ implicitly[ManualLambda[X]] // ok
14
+ implicitly[Tc1[X] & Tc2[X]] // no implicit argument of type Tc1[X] & Tc2[X] was found for parameter ev of method implicitly in object DottyPredef
15
0 commit comments