diff options
author | Martin Odersky <odersky@gmail.com> | 2013-02-27 16:27:26 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2013-02-27 16:27:26 +0100 |
commit | 62d0df5a8ef140a721e3e14d9dae34545ef9016d (patch) | |
tree | 07edc159ba9c359143ff7d3e3f5dbb701def636c /src/dotty/tools/dotc/core/SymDenotations.scala | |
parent | b1f0eaa41cdf0a6bbc37078f6580b04f85ad5079 (diff) | |
download | dotty-62d0df5a8ef140a721e3e14d9dae34545ef9016d.tar.gz dotty-62d0df5a8ef140a721e3e14d9dae34545ef9016d.tar.bz2 dotty-62d0df5a8ef140a721e3e14d9dae34545ef9016d.zip |
Cleaup of Contexts
Diffstat (limited to 'src/dotty/tools/dotc/core/SymDenotations.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/SymDenotations.scala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/SymDenotations.scala b/src/dotty/tools/dotc/core/SymDenotations.scala index 5d2ec2dc0..799407b0c 100644 --- a/src/dotty/tools/dotc/core/SymDenotations.scala +++ b/src/dotty/tools/dotc/core/SymDenotations.scala @@ -649,6 +649,7 @@ object SymDenotations { _superClassBits = ctx.uniqueBits.findEntryOrUpdate(seen.toImmutable) } + /** A bitset that contains the superId's of all base classes */ private def superClassBits(implicit ctx: Context): BitSet = { if (_superClassBits == null) computeSuperClassBits _superClassBits @@ -919,7 +920,7 @@ object SymDenotations { |in ${denot.owner.showKind} ${denot.owner.showFullName} which is not available. |It may be completely missing from the current classpath, or the version on |the classpath might be incompatible with the version used when compiling $src.""".stripMargin) - if (cctx.settings.debug.value) (new Throwable).printStackTrace + if (cctx.debug) (new Throwable).printStackTrace initializeToDefaults(denot) } } |