aboutsummaryrefslogtreecommitdiff
path: root/plugins/base
diff options
context:
space:
mode:
authorKamil Doległo <kamilok1965@interia.pl>2020-08-14 13:37:38 +0200
committerSebastian Sellmair <34319766+sellmair@users.noreply.github.com>2020-08-19 13:34:10 +0200
commit97275264d7c39afde6c6a1511e7ad499430ca594 (patch)
treee33ceb78b4242903d79c173a18da7a25f8e47a7d /plugins/base
parentc3e979270956b8df9380cf9eea067048f325dbd3 (diff)
downloaddokka-97275264d7c39afde6c6a1511e7ad499430ca594.tar.gz
dokka-97275264d7c39afde6c6a1511e7ad499430ca594.tar.bz2
dokka-97275264d7c39afde6c6a1511e7ad499430ca594.zip
Specify generic type explicitly, fix formatting
Diffstat (limited to 'plugins/base')
-rw-r--r--plugins/base/src/main/kotlin/resolvers/local/DokkaLocationProvider.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/base/src/main/kotlin/resolvers/local/DokkaLocationProvider.kt b/plugins/base/src/main/kotlin/resolvers/local/DokkaLocationProvider.kt
index 4233ffa1..88536558 100644
--- a/plugins/base/src/main/kotlin/resolvers/local/DokkaLocationProvider.kt
+++ b/plugins/base/src/main/kotlin/resolvers/local/DokkaLocationProvider.kt
@@ -38,7 +38,7 @@ open class DokkaLocationProvider(
if (first) page else throw AssertionError("Multiple pages associated with dri: $dri")
}
- protected open val anchorsIndex = pageGraphRoot.withDescendants().filterIsInstance<ContentPage>()
+ protected open val anchorsIndex: Map<DRI, ContentPage> = pageGraphRoot.withDescendants().filterIsInstance<ContentPage>()
.flatMap { page ->
page.content.withDescendants()
.filter { it.extra[SymbolAnchorHint] != null }