tailrec

final

A method annotation which verifies that the method will be compiled with tail call optimization.

If it is present, the compiler will issue an error if the method cannot be optimized into a loop.

Source
tailrec.scala
class Object
trait Matchable
class Any