Packages

class ImplicitComputation extends AnyRef

Prune ImplicitInfos down to either all the eligible ones or the best one.

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

Instance Constructors

  1. new ImplicitComputation(iss: Analyzer.Infoss, isLocalToCallsite: Boolean)

    iss

    list of list of infos

    isLocalToCallsite

    if true, iss represents in-scope implicits, which must respect the normal rules of shadowing. The head of the list iss must represent implicits from the closest enclosing scope, and so on.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. val eligible: collection.immutable.List[Analyzer.ImplicitInfo]
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def findAll(): LinkedHashMap[Analyzer.ImplicitInfo, Analyzer.SearchResult]

    Returns all eligible ImplicitInfos and their SearchResults in a map.

  11. def findBest(): Analyzer.SearchResult

    Returns the SearchResult of the best match.

  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. val invalidImplicits: ListBuffer[Global.Symbol]

    The implicits that are not valid because they come later in the source and lack an explicit result type.

    The implicits that are not valid because they come later in the source and lack an explicit result type. Used for error diagnostics only.

  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. def survives(info: Analyzer.ImplicitInfo, shadower: Analyzer.Shadower): Boolean

    True if a given ImplicitInfo (already known isValid) is eligible.

  20. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  25. lazy val wildPtNotInstantiable: Boolean

    Faster implicit search.

    Faster implicit search. Overall idea:

    • prune aggressively
    • find the most likely one
    • if it matches, forget about all others it improves upon
  26. object DivergentImplicitRecovery

    Preventing a divergent implicit from terminating implicit search, so that if there is a best candidate it can still be selected.

Inherited from AnyRef

Inherited from Any

Ungrouped