tailrec

scala.annotation.tailrec
final class tailrec extends StaticAnnotation

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.

Attributes

Source
tailrec.scala
Graph
Supertypes
class Annotation
class Object
trait Matchable
class Any
In this article