[FIR2IR] Align object receiver generation with K1
#KT-59548 Fixed
This commit is contained in:
committed by
Space Team
parent
14327d51ed
commit
c605cb9855
@@ -43,6 +43,16 @@ object Z {
|
||||
|
||||
}
|
||||
|
||||
fun aFun() {
|
||||
withLambda(f = local fun <anonymous>() {
|
||||
Z.<set-counter>(<set-?> = 1)
|
||||
Z.foo()
|
||||
Z.<set-counter>(<set-?> = 1)
|
||||
Z.foo()
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
val aLambda: Function0<Unit>
|
||||
field = local fun <anonymous>() {
|
||||
Z.<set-counter>(<set-?> = 1)
|
||||
@@ -90,3 +100,7 @@ fun Z.test() {
|
||||
Z.<set-counter>(<set-?> = 1)
|
||||
Z.foo()
|
||||
}
|
||||
|
||||
fun withLambda(f: Function0<Unit>) {
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user