78d80181e2
Fixes KT-50992 DeclarationDescriptor.isInlineClass misidentifies inline classes without constructors. This can happen for the ABI of inline classes with private constructors.
8 lines
151 B
Kotlin
Vendored
8 lines
151 B
Kotlin
Vendored
package lib
|
|
|
|
@JvmInline
|
|
value class A private constructor(val value: String) {
|
|
companion object { fun a() = A("OK") }
|
|
inline fun b() = value
|
|
}
|