Dotty Documentation

0.11.0-bin-SNAPSHOT

object EtaExpansion
extends LiftImpure

Lifter for eta expansion

[-] Constructors

[-] Members

[+] def etaExpand ( tree: Tree , mt: MethodType , xarity: Int ) ( implicit ctx: Context ) : Tree

Eta-expanding a tree means converting a method reference to a function value.