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 caaf917 commit 4ba42ddCopy full SHA for 4ba42dd
tests/pos-custom-args/captures/i16415.scala
@@ -0,0 +1,8 @@
1
+abstract class A[X]:
2
+ def foo(x: X): X
3
+
4
+class IO
5
+class C
6
+def test(io: IO^) =
7
+ class B extends A[C^{io}]: // error, but should work
8
+ override def foo(x: C^{io}): C^{io} = ???
0 commit comments