1
t6526.scala:8: error: could not optimize @tailrec annotated method inner: it contains a recursive call not in tail position
2
@tailrec def inner(i: Int): Int = 1 + inner(i)
4
t6526.scala:14: error: could not optimize @tailrec annotated method inner: it contains a recursive call not in tail position
5
@tailrec def inner(i: Int): Int = 1 + inner(i)
7
t6526.scala:20: error: could not optimize @tailrec annotated method inner: it contains a recursive call not in tail position
8
@tailrec def inner(i: Int): Int = 1 + inner(i)
10
t6526.scala:30: error: could not optimize @tailrec annotated method inner: it contains a recursive call not in tail position
11
@tailrec def inner(i: Int): Int = 1 + inner(i)
13
t6526.scala:39: error: could not optimize @tailrec annotated method inner: it contains a recursive call not in tail position
14
def inner(i: Int): Int = 1 + inner(i)