diff options
author | Martin Odersky <odersky@gmail.com> | 2013-04-04 15:18:38 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2013-04-04 15:18:38 +0200 |
commit | 3dfdb907759b6344b6c0544b5378847ebe252a71 (patch) | |
tree | e4ca69e1833f7f15238e6e9d45c709cad2ebe360 /src/dotty/tools/dotc/core/TypeOps.scala | |
parent | e8b9ef29f6e0a0ba4f0e51943c80ba2974b0e27e (diff) | |
download | dotty-3dfdb907759b6344b6c0544b5378847ebe252a71.tar.gz dotty-3dfdb907759b6344b6c0544b5378847ebe252a71.tar.bz2 dotty-3dfdb907759b6344b6c0544b5378847ebe252a71.zip |
Consolidated tracing under -YdebugTrace.
Diffstat (limited to 'src/dotty/tools/dotc/core/TypeOps.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/TypeOps.scala | 4 |
1 files changed, 3 insertions, 1 deletions
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) |