Closed
Description
class Test {
def cond: Boolean = ???
def foo(x: => Int) = ???
@annotation.tailrec
final def bar: Int =
if (cond) foo(bar) // should be an error
else bar
}
t4649 is a pending test case
class Test {
def cond: Boolean = ???
def foo(x: => Int) = ???
@annotation.tailrec
final def bar: Int =
if (cond) foo(bar) // should be an error
else bar
}
t4649 is a pending test case