blob: f4db0cc87a4632e239f6f0e6df8ff74494792745 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
t6526.scala:8: error: could not optimize @tailrec annotated method inner: it contains a recursive call not in tail position
@tailrec def inner(i: Int): Int = 1 + inner(i)
^
t6526.scala:14: error: could not optimize @tailrec annotated method inner: it contains a recursive call not in tail position
@tailrec def inner(i: Int): Int = 1 + inner(i)
^
t6526.scala:20: error: could not optimize @tailrec annotated method inner: it contains a recursive call not in tail position
@tailrec def inner(i: Int): Int = 1 + inner(i)
^
t6526.scala:30: error: could not optimize @tailrec annotated method inner: it contains a recursive call not in tail position
@tailrec def inner(i: Int): Int = 1 + inner(i)
^
four errors found
|