aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/typer/Typer.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2014-02-22 10:58:18 +0100
committerMartin Odersky <odersky@gmail.com>2014-02-24 18:56:48 +0100
commitafb74449e0443d321da4b79e776eab376fdc51b1 (patch)
treea8f9101da583018b398f18c8b95c9e5fd18e5110 /src/dotty/tools/dotc/typer/Typer.scala
parenta4e2a6ed89c33f8c79c7129cc493bff0f84e044c (diff)
downloaddotty-afb74449e0443d321da4b79e776eab376fdc51b1.tar.gz
dotty-afb74449e0443d321da4b79e776eab376fdc51b1.tar.bz2
dotty-afb74449e0443d321da4b79e776eab376fdc51b1.zip
More statistics for created and retained trees
Diffstat (limited to 'src/dotty/tools/dotc/typer/Typer.scala')
-rw-r--r--src/dotty/tools/dotc/typer/Typer.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dotty/tools/dotc/typer/Typer.scala b/src/dotty/tools/dotc/typer/Typer.scala
index 25721ad74..49792cb73 100644
--- a/src/dotty/tools/dotc/typer/Typer.scala
+++ b/src/dotty/tools/dotc/typer/Typer.scala
@@ -28,7 +28,7 @@ import util.SourcePosition
import collection.mutable
import annotation.tailrec
import Implicits._
-import util.Stats.track
+import util.Stats.{track, record}
import config.Printers._
import language.implicitConversions
@@ -959,7 +959,7 @@ class Typer extends Namer with Applications with Implicits {
}
def typedUnadapted(initTree: untpd.Tree, pt: Type = WildcardType)(implicit ctx: Context): Tree = {
-
+ record("typedUnadapted")
val xtree = expanded(initTree)
xtree.removeAttachment(TypedAhead) match {
case Some(ttree) => ttree