Dotty Documentation

0.4.0-bin-SNAPSHOT

class CrossCastAnd
extends MiniPhaseTransform

This transform makes sure that all private member selections from AndTypes are performed from the first component of AndType. This is needed for correctness of erasure. See tests/run/PrivateAnd.scala

[-] Constructors

CrossCastAnd ( )

[-] Members

[+] override def phaseName : String

A name given to the Phase that can be used to debug the compiler. For instance, it is possible to print trees after a given phase using:

$ ./bin/dotc -Xprint:<phaseNameHere> sourceFile.scala
[+] override def transformSelect ( tree: Select ) ( implicit ctx: Context , info: TransformerInfo ) : Tree