diff --git a/klib/src/main/kotlin/org/jetbrains/kotlin/cli/klib/KlibPrinter.kt b/klib/src/main/kotlin/org/jetbrains/kotlin/cli/klib/KlibPrinter.kt index 0af1d70f34e..4210198a448 100644 --- a/klib/src/main/kotlin/org/jetbrains/kotlin/cli/klib/KlibPrinter.kt +++ b/klib/src/main/kotlin/org/jetbrains/kotlin/cli/klib/KlibPrinter.kt @@ -62,7 +62,7 @@ class KlibPrinter(out: Appendable) { append(Renderers.DEFAULT.renderAnnotation(it)).append(" ") } if (visibility != Visibilities.DEFAULT_VISIBILITY) { - append(visibility.displayName).append(" ") + append(visibility.internalDisplayName).append(" ") } when (this@render) { is PropertyGetterDescriptor -> append("get")