diff --git a/libraries/kotlinx-metadata/src/kotlinx/metadata/nodes.kt b/libraries/kotlinx-metadata/src/kotlinx/metadata/nodes.kt index f8355f0c4c1..12348140e0b 100644 --- a/libraries/kotlinx-metadata/src/kotlinx/metadata/nodes.kt +++ b/libraries/kotlinx-metadata/src/kotlinx/metadata/nodes.kt @@ -584,12 +584,13 @@ class KmValueParameter( var name: String ) : KmValueParameterVisitor() { /** - * Type of the value parameter, if this is **not** a `vararg` parameter. + * Type of the value parameter. + * If this is a `vararg` parameter of type `X`, returns the type `Array`. */ lateinit var type: KmType /** - * Type of the value parameter, if this is a `vararg` parameter. + * Type of the `vararg` value parameter, or `null` if this is not a `vararg` parameter. */ var varargElementType: KmType? = null