Dotty Documentation


class ElimStaticThis
extends MiniPhase

Replace This references to module classes in static methods by global identifiers to the corresponding modules.

[-] Constructors

ElimStaticThis ( )

[-] Members

[+] 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 transformIdent ( tree: Ident ) ( implicit ctx: Context ) : Tree
[+] override def transformThis ( tree: This ) ( implicit ctx: Context ) : Tree