diff options
author | Sean McDirmid <sean.mcdirmid@gmail.com> | 2008-02-15 13:40:43 +0000 |
---|---|---|
committer | Sean McDirmid <sean.mcdirmid@gmail.com> | 2008-02-15 13:40:43 +0000 |
commit | 3cb61dc106f442d061c6e64dc024d18060e0c445 (patch) | |
tree | 8d90db27025bfe000a9b8151fc384acbc2d677c9 /src | |
parent | e1ffc05b10be619d36150a27a1d9ccdc72b99e8d (diff) | |
download | scala-3cb61dc106f442d061c6e64dc024d18060e0c445.tar.gz scala-3cb61dc106f442d061c6e64dc024d18060e0c445.tar.bz2 scala-3cb61dc106f442d061c6e64dc024d18060e0c445.zip |
Fixed IDE for new-style case classes.
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/symtab/IdeSupport.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/symtab/IdeSupport.scala b/src/compiler/scala/tools/nsc/symtab/IdeSupport.scala index 015a4ffd36..b240fd424c 100644 --- a/src/compiler/scala/tools/nsc/symtab/IdeSupport.scala +++ b/src/compiler/scala/tools/nsc/symtab/IdeSupport.scala @@ -84,7 +84,7 @@ trait IdeSupport extends SymbolTable { // added to global, not analyzers. // grab the case factory val name = sym.name.toTermName e = scope.lookupEntry(name) - while (e != null && !e.sym.hasFlag(CASE)) e = scope.lookupNextEntry(e) + while (e != null && !e.sym.hasFlag(MODULE)) e = scope.lookupNextEntry(e) assert(e != null) list += e.sym scope unlink e.sym |