summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHubert Plociniczak <hubert.plociniczak@epfl.ch>2010-12-02 10:56:53 +0000
committerHubert Plociniczak <hubert.plociniczak@epfl.ch>2010-12-02 10:56:53 +0000
commitb2bade0259f2c6e7276dcb8b675131ea7d809906 (patch)
tree485d484c1e0c78c7b4e66d047e45954dc014c4de /src
parente1aa9c8e00e24c9835a92d12e1c39f9ad653f37a (diff)
downloadscala-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')
-rw-r--r--src/compiler/scala/tools/nsc/symtab/Types.scala2
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)