summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/typechecker/RefChecks.scala
diff options
context:
space:
mode:
authorSean McDirmid <sean.mcdirmid@gmail.com>2008-06-01 08:04:19 +0000
committerSean McDirmid <sean.mcdirmid@gmail.com>2008-06-01 08:04:19 +0000
commitba33786e9b0247bc8c796dddbbed1c69905c667e (patch)
tree5babffd217565e5b12048a8fad063e582adfa4cd /src/compiler/scala/tools/nsc/typechecker/RefChecks.scala
parent7569442847c4d34e02e915125c475cc5449f12d9 (diff)
downloadscala-ba33786e9b0247bc8c796dddbbed1c69905c667e.tar.gz
scala-ba33786e9b0247bc8c796dddbbed1c69905c667e.tar.bz2
scala-ba33786e9b0247bc8c796dddbbed1c69905c667e.zip
Various bugfixes and upgrades to IDE support de...
Various bugfixes and upgrades to IDE support dealing with case classes/companion objects, lazy val's, and dependency tracking.
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/RefChecks.scala')
-rw-r--r--src/compiler/scala/tools/nsc/typechecker/RefChecks.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/RefChecks.scala b/src/compiler/scala/tools/nsc/typechecker/RefChecks.scala
index c8dad51275..55728ec70f 100644
--- a/src/compiler/scala/tools/nsc/typechecker/RefChecks.scala
+++ b/src/compiler/scala/tools/nsc/typechecker/RefChecks.scala
@@ -256,7 +256,7 @@ abstract class RefChecks extends InfoTransform {
// Bridge symbols qualify.
// Used as a fall back if no overriding symbol of a Java abstract method can be found
def javaErasedOverridingSym(sym: Symbol): Symbol =
- clazz.tpe.findMember(sym.name, PRIVATE, 0, false).filter(other =>
+ clazz.tpe.findMember(sym.name, PRIVATE, 0, false)(NoSymbol).filter(other =>
!other.isDeferred &&
(other hasFlag JAVA) && {
val tp1 = erasure.erasure(clazz.thisType.memberType(sym))