diff options
author | Eugene Vigdorchik <eugenevigdorchik@epfl.ch> | 2010-11-04 17:25:53 +0000 |
---|---|---|
committer | Eugene Vigdorchik <eugenevigdorchik@epfl.ch> | 2010-11-04 17:25:53 +0000 |
commit | 1320e921ad6be95725ed8879ef6cbdb80ce9b795 (patch) | |
tree | bc0a6de3ec8068e27067eda380d52e50da6871f7 | |
parent | 78c1e2f94ed3b324ffd8003945d94d00260b5e3b (diff) | |
download | scala-1320e921ad6be95725ed8879ef6cbdb80ce9b795.tar.gz scala-1320e921ad6be95725ed8879ef6cbdb80ce9b795.tar.bz2 scala-1320e921ad6be95725ed8879ef6cbdb80ce9b795.zip |
Presentation compiler: not adapting to the new ...
Presentation compiler: not adapting to the new symbol for ThisType for
class syms causes false errors in Eclipse
-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 96a7654c68..11f1385baa 100644 --- a/src/compiler/scala/tools/nsc/symtab/Types.scala +++ b/src/compiler/scala/tools/nsc/symtab/Types.scala @@ -3833,7 +3833,7 @@ A type's typeSymbol should never be inspected directly. } } def apply(tp: Type): Type = tp match { - case ThisType(sym) if (sym.isModuleClass) => + case ThisType(sym)/* if (sym.isModuleClass)*/ => val sym1 = adaptToNewRun(sym.owner.thisType, sym) if (sym1 == sym) tp else ThisType(sym1) case SingleType(pre, sym) => |