From a466ae90c9ddf3d3312fb552fde106a8903383e1 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Fri, 12 Jul 2013 12:04:51 +0200 Subject: Adding diagnostics how many stubs were generated --- src/dotty/tools/dotc/core/Symbols.scala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/dotty/tools/dotc/core/Symbols.scala') diff --git a/src/dotty/tools/dotc/core/Symbols.scala b/src/dotty/tools/dotc/core/Symbols.scala index 9025a7df9..634be7cb7 100644 --- a/src/dotty/tools/dotc/core/Symbols.scala +++ b/src/dotty/tools/dotc/core/Symbols.scala @@ -192,7 +192,7 @@ trait Symbols { this: Context => case name: TypeName => newClassSymbol(normalizedOwner, name, EmptyFlags, stubCompleter, assocFile = file) } - //stub.info //!!! DEBUG, force the error for now + stubs = stub :: stubs stub } @@ -474,4 +474,6 @@ object Symbols { /** Makes all class denotations available on class symbols */ implicit def toClassDenot(cls: ClassSymbol)(implicit ctx: Context): ClassDenotation = cls.classDenot + + var stubs: List[Symbol] = Nil // diagnostic } -- cgit v1.2.3