aboutsummaryrefslogtreecommitdiff
path: root/dottydoc/jvm/src/dotty/tools/dottydoc/util/Traversing.scala
diff options
context:
space:
mode:
authorFelix Mulder <felix.mulder@gmail.com>2016-08-07 16:21:24 +0200
committerFelix Mulder <felix.mulder@gmail.com>2016-08-19 15:37:33 +0200
commit5fdc353794e1175a3967a7df10e5d80c443a5754 (patch)
treefb6ec61f824fa8b50d53b9cc9cb5cbaa3cc62f01 /dottydoc/jvm/src/dotty/tools/dottydoc/util/Traversing.scala
parent922788ac39f7538b79b58c326bd22c641a8e2490 (diff)
downloaddotty-5fdc353794e1175a3967a7df10e5d80c443a5754.tar.gz
dotty-5fdc353794e1175a3967a7df10e5d80c443a5754.tar.bz2
dotty-5fdc353794e1175a3967a7df10e5d80c443a5754.zip
Fix phase fusion for subpackages, fix links in implicitly added methods
Diffstat (limited to 'dottydoc/jvm/src/dotty/tools/dottydoc/util/Traversing.scala')
-rw-r--r--dottydoc/jvm/src/dotty/tools/dottydoc/util/Traversing.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/dottydoc/jvm/src/dotty/tools/dottydoc/util/Traversing.scala b/dottydoc/jvm/src/dotty/tools/dottydoc/util/Traversing.scala
index 2ac8eae4f..a3b60fa44 100644
--- a/dottydoc/jvm/src/dotty/tools/dottydoc/util/Traversing.scala
+++ b/dottydoc/jvm/src/dotty/tools/dottydoc/util/Traversing.scala
@@ -13,6 +13,8 @@ object traversing {
def relativePath(from: Entity, to: Entity) = {
val offset = from match {
+ case v: Val if v.implicitlyAddedFrom.isDefined => 3
+ case d: Def if d.implicitlyAddedFrom.isDefined => 3
case _: Val | _: Def => 2
case _ => 1
}