FIR2IR: set parent correctly (~) for anonymous functions

This commit is contained in:
Mikhail Glukhikh
2019-12-27 16:10:11 +03:00
parent a653feb2dc
commit 6da3c2fa4e
5 changed files with 6 additions and 7 deletions
@@ -1,4 +1,3 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun IntArray.swap(i:Int, j:Int) {
val temp = this[i]
this[i] = this[j]