diff options
author | Hubert Plociniczak <hubert.plociniczak@epfl.ch> | 2010-12-02 10:56:53 +0000 |
---|---|---|
committer | Hubert Plociniczak <hubert.plociniczak@epfl.ch> | 2010-12-02 10:56:53 +0000 |
commit | b2bade0259f2c6e7276dcb8b675131ea7d809906 (patch) | |
tree | 485d484c1e0c78c7b4e66d047e45954dc014c4de /src/compiler | |
parent | e1aa9c8e00e24c9835a92d12e1c39f9ad653f37a (diff) | |
download | scala-b2bade0259f2c6e7276dcb8b675131ea7d809906.tar.gz scala-b2bade0259f2c6e7276dcb8b675131ea7d809906.tar.bz2 scala-b2bade0259f2c6e7276dcb8b675131ea7d809906.zip |
In r23627 Lukas fixed specialization bug that s...
In r23627 Lukas fixed specialization bug that seemed to be the reason
for #3993 and other specialization and resident compiler bugs. So
reverting quick fix r23576 as it is not necessary anymore. No review.
Closes #3993.
Diffstat (limited to 'src/compiler')
-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 f7099eb170..972c900418 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.refChecked) { + if (phase.flatClasses) { sym } else if (sym.isModuleClass) { val adaptedSym = adaptToNewRun(pre, sym.sourceModule) |