diff options
author | Eugene Vigdorchik <eugenevigdorchik@epfl.ch> | 2010-11-24 12:24:00 +0000 |
---|---|---|
committer | Eugene Vigdorchik <eugenevigdorchik@epfl.ch> | 2010-11-24 12:24:00 +0000 |
commit | 30b26d84b36af69738f2770069924b087736df09 (patch) | |
tree | a860db6e98b019c2591758f2a2c6739a416246a6 | |
parent | c555cedd675da47ddf4e85835ece8dd401805ee0 (diff) | |
download | scala-30b26d84b36af69738f2770069924b087736df09.tar.gz scala-30b26d84b36af69738f2770069924b087736df09.tar.bz2 scala-30b26d84b36af69738f2770069924b087736df09.zip |
Quickfix for #3993 before a real fix is done.
-rw-r--r-- | src/compiler/scala/tools/nsc/symtab/Types.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/symtab/Types.scala b/src/compiler/scala/tools/nsc/symtab/Types.scala index 05f8489192..14450c28b7 100644 --- a/src/compiler/scala/tools/nsc/symtab/Types.scala +++ b/src/compiler/scala/tools/nsc/symtab/Types.scala @@ -3789,7 +3789,7 @@ A type's typeSymbol should never be inspected directly. object adaptToNewRunMap extends TypeMap { private def adaptToNewRun(pre: Type, sym: Symbol): Symbol = { - if (phase.flatClasses) { + if (phase.refChecked) { sym } else if (sym.isModuleClass) { if (!sym.owner.isPackageClass) |