699366f178
Update the component function visibility based on the already resolved visibility of the property before transforming the status of the component function itself. ^KT-58184 Fixed
8 lines
208 B
Kotlin
Vendored
8 lines
208 B
Kotlin
Vendored
// ISSUE: KT-58184
|
|
|
|
data class A(private val p1: Int, private val p2: Int)
|
|
|
|
fun test(a: A) {
|
|
val (<!INVISIBLE_REFERENCE!>p1<!>, <!INVISIBLE_REFERENCE!>p2<!>) = a // ok, but INVISIBLE_MEMBER is expected
|
|
}
|