54858c2118
^KT-63655: Fixed ^KT-63901: Fixed ^KT-63988: Fixed
12 lines
328 B
Kotlin
Vendored
12 lines
328 B
Kotlin
Vendored
// !LANGUAGE: -PrivateInFileEffectiveVisibility
|
|
|
|
// In light analysis mode, anonymous object type is approximated to the supertype, so `fy` is unresolved.
|
|
// IGNORE_LIGHT_ANALYSIS
|
|
|
|
private class One {
|
|
val a1 = arrayOf(
|
|
object { val fy = "text"}
|
|
)
|
|
}
|
|
|
|
fun box() = if (One().a1[0].fy == "text") "OK" else "fail" |