From 8b1cc2270c67157f60111a853680fd4f20418d59 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Sun, 26 Jan 2014 10:13:11 +0100 Subject: Some more statistic sampling --- src/dotty/tools/dotc/core/Contexts.scala | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/dotty/tools/dotc/core/Contexts.scala') diff --git a/src/dotty/tools/dotc/core/Contexts.scala b/src/dotty/tools/dotc/core/Contexts.scala index f74cd9445..8c2e0fbb3 100644 --- a/src/dotty/tools/dotc/core/Contexts.scala +++ b/src/dotty/tools/dotc/core/Contexts.scala @@ -427,6 +427,8 @@ object Contexts { override def hash(x: Type): Int = x.hash } + private[dotc] def uniquesSize = uniques.size + /** The number of recursive invocation of underlying on a NamedType * during a controlled operation. */ -- cgit v1.2.3