t

scala.tools.nsc.doc.model

ImplicitMemberShadowing

trait ImplicitMemberShadowing extends AnyRef

Shadowing captures the information that the member is shadowed by some other members There are two cases of implicitly added member shadowing: 1) shadowing from an original class member (the class already has that member) in this case, it won't be possible to call the member directly, the type checker will fail attempting to adapt the call arguments (or if they fit it will call the original class method) 2) shadowing from other possible implicit conversions () this will result in an ambiguous implicit conversion error

Source
Entity.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ImplicitMemberShadowing
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def ambiguatingMembers: List[MemberEntity]

    The members that ambiguate this implicit conversion Note: for ambiguatingMembers you have the following invariant: assert(ambiguatingMembers.foreach(_.byConversion.isDefined)

  2. abstract def shadowingMembers: List[MemberEntity]

    The members that shadow the current entry use .inTemplate to get to the template name

Concrete Value Members

  1. def isAmbiguous: Boolean
  2. def isShadowed: Boolean