Skip to content

Commit 57beb7c

Browse files
committed
Count symbols in Stats
1 parent d0f7846 commit 57beb7c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

compiler/src/dotty/tools/dotc/core/Symbols.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import printing.Printer
1616
import Types._
1717
import Annotations._
1818
import util.Positions._
19+
import util.Stats
1920
import DenotTransformers._
2021
import StdNames._
2122
import NameOps._
@@ -416,6 +417,8 @@ object Symbols {
416417

417418
//assert(id != 723)
418419

420+
Stats.record("symbol")
421+
419422
def coord: Coord = myCoord
420423
/** Set the coordinate of this class, this is only useful when the coordinate is
421424
* not known at symbol creation. This is the case for root symbols

0 commit comments

Comments
 (0)