aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/typer/Namer.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/dotty/tools/dotc/typer/Namer.scala')
-rw-r--r--src/dotty/tools/dotc/typer/Namer.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dotty/tools/dotc/typer/Namer.scala b/src/dotty/tools/dotc/typer/Namer.scala
index 6fe6182b4..887970b67 100644
--- a/src/dotty/tools/dotc/typer/Namer.scala
+++ b/src/dotty/tools/dotc/typer/Namer.scala
@@ -71,9 +71,8 @@ class Namer { typer: Typer =>
*/
lazy val symOfTree = new mutable.HashMap[Tree, Symbol]
- /** A map from expanded trees their typed versions.
+ /** A map from expanded trees to their typed versions.
* Populated when trees are typechecked during completion (using method typedAhead).
- * Emptied during typer.
*/
lazy val typedTree = new mutable.HashMap[Tree, tpd.Tree]
@@ -189,6 +188,7 @@ class Namer { typer: Typer =>
/** The expansion of a member def */
def expansion(mdef: DefTree)(implicit ctx: Context): Tree = {
val expanded = desugar.defTree(mdef)
+ println(i"Expansion: $mdef expands to $expanded")
if (expanded ne mdef) expandedTree(mdef) = expanded
expanded
}