You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dokka-subprojects/plugin-base/src/main/kotlin/org/jetbrains/dokka/base/signatures/KotlinSignatureProvider.kt
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -483,6 +483,12 @@ public class KotlinSignatureProvider(
483
483
type.projections
484
484
485
485
punctuation("(")
486
+
if(args.isEmpty()) {
487
+
contentBuilder.logger.warn("Functional type should have at least one argument in ${type.dri}")
488
+
text("ERROR CLASS: functional type should have at least one argument in ${type.dri}")
489
+
return@contentFor
490
+
}
491
+
486
492
args.subList(0, args.size -1).forEachIndexed { i, arg ->
0 commit comments