File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
dokka-subprojects/plugin-base/src/test/kotlin/signatures Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -454,6 +454,28 @@ class SignatureTest : BaseAbstractTest() {
454454 }
455455 }
456456
457+ @Test
458+ @OnlySymbols
459+ fun `fun with unresolved parameter` () {
460+ val source = source(" fun simpleFun(param: UnresolvedType): Unit" )
461+ val writerPlugin = TestOutputWriterPlugin ()
462+
463+ testInline(
464+ source,
465+ configuration,
466+ pluginOverrides = listOf (writerPlugin)
467+ ) {
468+ renderingStage = { _, _ ->
469+ writerPlugin.writer.renderedContent(" root/example/simple-fun.html" ).firstSignature().match(
470+ " fun " , A (" simpleFun" ), " (" , Parameters (
471+ Parameter (" param: UnresolvedType" ),
472+ ), " )" ,
473+ ignoreSpanWithTokenStyle = true
474+ )
475+ }
476+ }
477+ }
478+
457479 @Test
458480 fun `fun with vararg` () {
459481 val source = source(" fun simpleFun(vararg params: Int): Unit" )
You can’t perform that action at this time.
0 commit comments