scala.annotation

tailrec

class tailrec extends Annotation with 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
final
Source
tailrec.scala
Since

2.8

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. tailrec
  2. StaticAnnotation
  3. Annotation
  4. AnyRef
  5. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new tailrec ()