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 ff1ae38 commit ce4f97dCopy full SHA for ce4f97d
tests/pos/i7778b.scala
@@ -0,0 +1,4 @@
1
+class Foo[A](run: A ?=> Int) {
2
+ def foo[T](f: T ?=> Int = run) = ()
3
+}
4
+
0 commit comments