[FIR2IR] Align object receiver generation with K1
#KT-59548 Fixed
This commit is contained in:
committed by
Space Team
parent
14327d51ed
commit
c605cb9855
+13
-1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
object Z {
|
||||
var counter = 0
|
||||
fun foo() {}
|
||||
@@ -25,6 +26,15 @@ object Z {
|
||||
}
|
||||
}
|
||||
|
||||
fun aFun() {
|
||||
withLambda {
|
||||
counter = 1
|
||||
foo()
|
||||
Z.counter = 1
|
||||
Z.foo()
|
||||
}
|
||||
}
|
||||
|
||||
val aLambda = {
|
||||
counter = 1
|
||||
foo()
|
||||
@@ -54,4 +64,6 @@ fun Z.test() {
|
||||
foo()
|
||||
Z.counter = 1
|
||||
Z.foo()
|
||||
}
|
||||
}
|
||||
|
||||
fun withLambda(f: () -> Unit) {}
|
||||
|
||||
Reference in New Issue
Block a user