c7c1e33655
Local fun callee generation via resolvedCall.resultingDescriptor not call
18 lines
243 B
Kotlin
18 lines
243 B
Kotlin
class T(val value: Int) {
|
|
}
|
|
|
|
fun local() : Int {
|
|
|
|
fun T.get(s: Int): Int {
|
|
return s * this.value
|
|
}
|
|
|
|
var t = T(11)
|
|
return t[2]
|
|
}
|
|
|
|
fun box() : String {
|
|
if (local() != 22) return "fail1 ${local()} "
|
|
|
|
return "OK"
|
|
} |