Files
kotlin-fork/compiler/testData/diagnostics/tests/exposed/exceptionOnFakeInvisible.fir.kt
T
pyos e6d923f65c FIR: rename HIDDEN to INVISIBLE_REFERENCE
Some of them should be INVISIBLE_MEMBER though
2021-04-21 16:18:21 +03:00

13 lines
240 B
Kotlin
Vendored

// KT-14469: SOE during effective visibility evaluation
abstract class Base(private val v: String)
fun bar(arg: String) = arg
class Derived : Base("123") {
private inline fun foo() {
bar(<!INVISIBLE_REFERENCE!>v<!>)
}
}