transparentTrait

scala.annotation.transparentTrait

An annotation that can be used from Scala 2 to mark a trait as transparent. Scala 3 code would use the modifier transparent instead. Transparent traits are not inferred when combined with other types in an intersection. See reference/other-new-features/transparent-traits.html for details.

Attributes

Source:
transparentTrait.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view