Move local fun callee generation to pushArgumentsWithCallReceiver.
Local fun callee generation via resolvedCall.resultingDescriptor not call
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
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"
|
||||
}
|
||||
Reference in New Issue
Block a user