From 3dfdb907759b6344b6c0544b5378847ebe252a71 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Thu, 4 Apr 2013 15:18:38 +0200 Subject: Consolidated tracing under -YdebugTrace. --- src/dotty/tools/dotc/core/TypeOps.scala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/dotty/tools/dotc/core/TypeOps.scala') diff --git a/src/dotty/tools/dotc/core/TypeOps.scala b/src/dotty/tools/dotc/core/TypeOps.scala index 7b09df769..331431fac 100644 --- a/src/dotty/tools/dotc/core/TypeOps.scala +++ b/src/dotty/tools/dotc/core/TypeOps.scala @@ -19,7 +19,7 @@ trait TypeOps { this: Context => else toPrefix(pre.baseType(cls).normalizedPrefix, cls.owner, thiscls) - ctx.traceIndented(s"$tp.asSeenFrom($pre, $cls)") { + /* ctx.debugTraceIndented(s"$tp.asSeenFrom($pre, $cls)") */ { // !!! DEBUG tp match { case tp: NamedType => val sym = tp.symbol @@ -39,6 +39,8 @@ trait TypeOps { this: Context => asSeenFrom(tp.parent, pre, cls, theMap), tp.refinedName, asSeenFrom(tp.refinedInfo, pre, cls, theMap)) + case tp: ClassInfo => + tp.derivedClassInfo(asSeenFrom(tp.prefix, pre, cls, theMap)) case _ => (if (theMap != null) theMap else new AsSeenFromMap(pre, cls)) .mapOver(tp) -- cgit v1.2.3