blob: 633af59bbc6dddb2ad594d136da5c2c2181c7ac4 [file]
// IGNORE_BACKEND_FIR: JVM_IR
class Outer {
class Nested{
fun foo(s: String) = s.extension()
}
companion object {
private fun String.extension(): String = this
}
}
fun box(): String {
return Outer.Nested().foo("OK")
}