diff options
author | Eugene Vigdorchik <eugenevigdorchik@epfl.ch> | 2010-11-05 09:23:21 +0000 |
---|---|---|
committer | Eugene Vigdorchik <eugenevigdorchik@epfl.ch> | 2010-11-05 09:23:21 +0000 |
commit | af202942f1ec01eb0a35e94407bcdb485679ddf0 (patch) | |
tree | e9e4986b14c4ede294574a9ea2ea95519fb42016 /src/compiler | |
parent | 70d07a23945ff3cb79eea3515d55f356ec3c5004 (diff) | |
download | scala-af202942f1ec01eb0a35e94407bcdb485679ddf0.tar.gz scala-af202942f1ec01eb0a35e94407bcdb485679ddf0.tar.bz2 scala-af202942f1ec01eb0a35e94407bcdb485679ddf0.zip |
Need to rebind toplevel symbols to handle delet...
Need to rebind toplevel symbols to handle delete/recreate scenario.
Review by odersky.
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 11f1385baa..f5b911ad4d 100644 --- a/src/compiler/scala/tools/nsc/symtab/Types.scala +++ b/src/compiler/scala/tools/nsc/symtab/Types.scala @@ -3794,7 +3794,7 @@ A type's typeSymbol should never be inspected directly. sym // Nested lazy object else adaptToNewRun(pre, sym.sourceModule).moduleClass - } else if ((pre eq NoPrefix) || (pre eq NoType) || sym.owner.isPackageClass) { + } else if ((pre eq NoPrefix) || (pre eq NoType)/* || sym.owner.isPackageClass*/) { sym } else { var rebind0 = pre.findMember(sym.name, BRIDGE, 0, true) |