Files
kotlin-fork/compiler/testData/diagnostics/tests/exposed/exceptionOnFakeInvisible.kt
T

13 lines
261 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 <!NOTHING_TO_INLINE!>inline<!> fun foo() {
bar(<!INVISIBLE_MEMBER!>v<!>)
}
}