Dotty Documentation


class RestoreScopes

The preceding lambda lift and flatten phases move symbols to different scopes and rename them. This miniphase cleans up afterwards and makes sure that all class scopes contain the symbols defined in them.

[-] Constructors

RestoreScopes ( )

[-] Members

[+] override def changesMembers : Boolean

Can this transform create or delete non-private 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
[+] private def restoreScope ( tree: Tree ) ( implicit ctx: Context ) : Tree [ Type ]
[+] override def transformPackageDef ( pdef: PackageDef ) ( implicit ctx: Context ) : PackageDef