summaryrefslogtreecommitdiff
path: root/src/compiler
diff options
context:
space:
mode:
authorHubert Plociniczak <hubert.plociniczak@gmail.com>2012-07-27 11:32:29 +0200
committerHubert Plociniczak <hubert.plociniczak@gmail.com>2012-07-30 10:20:44 +0200
commit2a14dd2d23e78775301d38dd235873e5cddc6e23 (patch)
tree27cee1a5198408c002b5369b2cfe4f3f7a731521 /src/compiler
parent1ad6e501997d332e2bc0ccc8dd40e3909e728930 (diff)
downloadscala-2a14dd2d23e78775301d38dd235873e5cddc6e23.tar.gz
scala-2a14dd2d23e78775301d38dd235873e5cddc6e23.tar.bz2
scala-2a14dd2d23e78775301d38dd235873e5cddc6e23.zip
Fixed SI-5031. Only consider classes when looking for companion class.
sym.effectiveOwner revealed this piece of inconsistency. companionModule is fine because similar check is there already. Review by @paulp.
Diffstat (limited to 'src/compiler')
-rwxr-xr-xsrc/compiler/scala/tools/nsc/doc/model/IndexModelFactory.scala1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/doc/model/IndexModelFactory.scala b/src/compiler/scala/tools/nsc/doc/model/IndexModelFactory.scala
index f4c96505a7..9d141efe0a 100755
--- a/src/compiler/scala/tools/nsc/doc/model/IndexModelFactory.scala
+++ b/src/compiler/scala/tools/nsc/doc/model/IndexModelFactory.scala
@@ -8,7 +8,6 @@ package doc
package model
import scala.collection._
-import language.reflectiveCalls
object IndexModelFactory {