Packages

package test

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. test
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def sameTyped[T](t1: ⇒ T)(t2: ⇒ T): Unit
  2. macro def showType[T](t: ⇒ T): String
  3. macro def showType[T]: String
  4. def typed[T](t: ⇒ T): Unit
  5. object TypeTrace
  6. object compileTime

    Utility that measures the compilation time of a code fragment.

    Utility that measures the compilation time of a code fragment.

    compileTime takes a code fragment as String, measures the time it takes to parse and typecheck it and returns that time as a FiniteDuration.

    Example:

    scala> compileTime(""" Generic[(Int, Option[String])] """)
    res0: FiniteDuration = 43153718 nanoseconds
  7. object illTyped

    A utility which ensures that a code fragment does not typecheck.

    A utility which ensures that a code fragment does not typecheck.

    Credit: Stefan Zeiger (@StefanZeiger)

Inherited from AnyRef

Inherited from Any

Ungrouped