Files
kotlin-fork/compiler/testData/diagnostics/tests/exposed/exceptionOnFakeInvisible.fir.kt
T
2021-08-04 17:33:08 +03:00

13 lines
264 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_REFERENCE!>v<!>)
}
}