Rematerialize simple expressions (local variables, literals, $this, $receiver) when generating calls.
This commit is contained in:
committed by
Dmitry Petrov
parent
c1583c4368
commit
287d804131
@@ -9,4 +9,5 @@ fun reordered2() = 2
|
||||
fun test() {
|
||||
foo(a = noReorder1(), b = noReorder2())
|
||||
foo(b = reordered1(), a = reordered2())
|
||||
foo(b = 1, a = reordered2())
|
||||
}
|
||||
Reference in New Issue
Block a user