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 6486cbc commit 491a244Copy full SHA for 491a244
tests/pos/i7778.scala
@@ -1,5 +1,12 @@
1
object Example extends App {
2
- final case class Foo[A](run: A ?=> Int) {
3
- // def copy[A]: this.A ?=> Int = (using a) => run
4
- }
+ final case class Foo[A](run: A ?=> Int)
+}
+
5
+object Example2 extends App {
6
+ final case class Foo[A, B](run: (A, B) ?=> Int)
7
8
9
10
+object Example3 extends App {
11
+ final case class Foo[A, B](run: () ?=> Int)
12
}
0 commit comments