diff options
author | Martin Odersky <odersky@gmail.com> | 2008-05-21 15:52:45 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2008-05-21 15:52:45 +0000 |
commit | b7efa99768e14c03df810b129f979ba61aba8e87 (patch) | |
tree | a392c9cd990905662f6e4143f564649a79164cc9 /src/compiler | |
parent | 47f35b58791cf2765f3643a6836ad9a6764ee41f (diff) | |
download | scala-b7efa99768e14c03df810b129f979ba61aba8e87.tar.gz scala-b7efa99768e14c03df810b129f979ba61aba8e87.tar.bz2 scala-b7efa99768e14c03df810b129f979ba61aba8e87.zip |
Fixed #904
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/scala/tools/nsc/ast/TreeInfo.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/ast/TreeInfo.scala b/src/compiler/scala/tools/nsc/ast/TreeInfo.scala index 0c056fd1c6..c034aa67f9 100644 --- a/src/compiler/scala/tools/nsc/ast/TreeInfo.scala +++ b/src/compiler/scala/tools/nsc/ast/TreeInfo.scala @@ -106,9 +106,9 @@ abstract class TreeInfo { case Select(qual, _) => tree.symbol.isVariable || (mayBeVarGetter(tree.symbol) && - tree.symbol.owner.info.decl(nme.getterToSetter(tree.symbol.name)) != NoSymbol) + tree.symbol.owner.info.member(nme.getterToSetter(tree.symbol.name)) != NoSymbol) case Apply(Select(qual, nme.apply), _) => - qual.tpe.decl(nme.update) != NoSymbol + qual.tpe.member(nme.update) != NoSymbol case _ => false } |