From a97ae720815e462c2e941d84c6273d8ecc138e6b Mon Sep 17 00:00:00 2001 From: Andrzej Ratajczak Date: Tue, 7 Jul 2020 13:47:10 +0200 Subject: Fix tests after rebase --- plugins/base/src/main/kotlin/renderers/DefaultRenderer.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'plugins/base') diff --git a/plugins/base/src/main/kotlin/renderers/DefaultRenderer.kt b/plugins/base/src/main/kotlin/renderers/DefaultRenderer.kt index 57a3d8d1..ebfcf864 100644 --- a/plugins/base/src/main/kotlin/renderers/DefaultRenderer.kt +++ b/plugins/base/src/main/kotlin/renderers/DefaultRenderer.kt @@ -175,7 +175,7 @@ abstract class DefaultRenderer( pageContext: ContentPage, beforeTransformer: (ContentDivergentInstance, ContentPage, DokkaSourceSet) -> String, afterTransformer: (ContentDivergentInstance, ContentPage, DokkaSourceSet) -> String - ): Map, List>> = + ): Map> = children.flatMap { instance -> instance.sourceSets.map { sourceSet -> Pair(instance, sourceSet) to Pair( @@ -189,4 +189,7 @@ abstract class DefaultRenderer( ) } +internal typealias SerializedInstanceWithSource = Pair +internal typealias InstanceWithSource = Pair + fun ContentPage.sourceSets() = this.content.sourceSets \ No newline at end of file -- cgit