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 7a7f144 commit e3aeed1Copy full SHA for e3aeed1
tests/init/pos/recursive.scala
@@ -0,0 +1,9 @@
1
+class A {
2
+ def p(cb: Int => Int): Int = cb(0)
3
+
4
+ val q: List[Int] = {
5
+ def f(x: Int): Int => Int = y => p(f(y))
6
+ List(1, 2).map(f(3))
7
+ }
8
+ val n: Int = 4
9
+}
0 commit comments