diff options
author | Felix Mulder <felix.mulder@gmail.com> | 2017-01-24 17:33:27 +0100 |
---|---|---|
committer | Felix Mulder <felix.mulder@gmail.com> | 2017-01-31 14:32:41 +0100 |
commit | e59241a2852eab53bdc0e22ea5b2dd394b231913 (patch) | |
tree | 34cefdccf17b9fd32af7dee25ba5e987f5ad6515 /doc-tool/src/dotty/tools/dottydoc/util | |
parent | 269c24b92a2cf15e90344430291b74ee30441d3a (diff) | |
download | dotty-e59241a2852eab53bdc0e22ea5b2dd394b231913.tar.gz dotty-e59241a2852eab53bdc0e22ea5b2dd394b231913.tar.bz2 dotty-e59241a2852eab53bdc0e22ea5b2dd394b231913.zip |
Allow links in static site to reference API entities
Diffstat (limited to 'doc-tool/src/dotty/tools/dottydoc/util')
-rw-r--r-- | doc-tool/src/dotty/tools/dottydoc/util/MemberLookup.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc-tool/src/dotty/tools/dottydoc/util/MemberLookup.scala b/doc-tool/src/dotty/tools/dottydoc/util/MemberLookup.scala index 7e37d0cfd..bb09a7090 100644 --- a/doc-tool/src/dotty/tools/dottydoc/util/MemberLookup.scala +++ b/doc-tool/src/dotty/tools/dottydoc/util/MemberLookup.scala @@ -69,6 +69,7 @@ trait MemberLookup { } (querys, entity) match { + case (xs, NonEntity) => globalLookup case (x :: Nil, e: Entity with Members) => localLookup(e, x) case (x :: _, e: Entity with Members) if x == entity.name => |