summaryrefslogtreecommitdiff
path: root/src/compiler
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2008-04-07 17:27:36 +0000
committerMartin Odersky <odersky@gmail.com>2008-04-07 17:27:36 +0000
commitf9e8fbe0af78e66f2180f00e532086e68da6476e (patch)
tree1f6df2ec66eb952383560786b8502742d0e83214 /src/compiler
parentf6c4b03cb2f8d3dfe44a1a147ac698f232ad302c (diff)
downloadscala-f9e8fbe0af78e66f2180f00e532086e68da6476e.tar.gz
scala-f9e8fbe0af78e66f2180f00e532086e68da6476e.tar.bz2
scala-f9e8fbe0af78e66f2180f00e532086e68da6476e.zip
improved isCoDefined
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/scala/tools/nsc/symtab/Symbols.scala6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/compiler/scala/tools/nsc/symtab/Symbols.scala b/src/compiler/scala/tools/nsc/symtab/Symbols.scala
index 5d34fb12be..7a12dcee2f 100644
--- a/src/compiler/scala/tools/nsc/symtab/Symbols.scala
+++ b/src/compiler/scala/tools/nsc/symtab/Symbols.scala
@@ -886,10 +886,8 @@ trait Symbols {
!this.owner.isPackageClass ||
(this.sourceFile eq null) ||
(that.sourceFile eq null) ||
- (this.sourceFile eq that.sourceFile)
- if (!res) {
- println("strange linked: "+this+" "+this.locationString+";"+this.sourceFile+"/"+that+that.locationString+";"+that.sourceFile+";"+that.moduleClass.sourceFile)
- }
+ (this.sourceFile eq that.sourceFile) ||
+ (this.sourceFile == that.sourceFile)
res
}