class FunctionalInterfaces
extends MiniPhaseTransform

Rewires closures to implement more specific types of Functions.

Constructors

FunctionalInterfaces ( )

Members

private var allowedArgumentTypes : Set [ Symbol ]
private var allowedReturnTypes : Set [ Symbol ]
val functionName : TermName
val functionPackage : TermName
val maxArgsCount : Int
private def allowedArgumentTypes_= ( x$1: Set [ Symbol ] ) : Unit
private def allowedReturnTypes_= ( x$1: Set [ Symbol ] ) : Unit
[+] 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:

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 prepareForUnit ( tree: Tree ) ( implicit ctx: Context ) : TreeTransform
def shouldSpecialize ( m: MethodType ) ( implicit ctx: Context ) : Boolean
override def transformClosure ( tree: Closure ) ( implicit ctx: Context , info: TransformerInfo ) : Tree