blob: ab6733946da086e559a61c93edb8eb46edb1f3b0 (
plain) (
tree)
|
|
tailrec-2.scala:6: error: could not optimize @tailrec annotated method: it contains a recursive call targetting a supertype
@annotation.tailrec final def f[B >: A](mem: List[B]): List[B] = (null: Super[A]).f(mem)
^
one error found
|