[PSI2IR] Set reflectionTarget for all adapted references

This commit is contained in:
Igor Chevdar
2021-02-01 15:35:03 +05:00
parent 690fb47cbb
commit bb8bf28b8b
27 changed files with 289 additions and 176 deletions
@@ -17,30 +17,42 @@ fun fnv(vararg xs: Int): Int {
}
fun test0() {
return useUnit0(fn = local fun fn0() {
fn0() /*~> Unit */
}
)
return useUnit0(fn = { // BLOCK
local fun fn0() {
fn0() /*~> Unit */
}
::fn0
})
}
fun test1() {
return useUnit1(fn = local fun fn1(p0: Int) {
fn1(x = p0) /*~> Unit */
}
)
return useUnit1(fn = { // BLOCK
local fun fn1(p0: Int) {
fn1(x = p0) /*~> Unit */
}
::fn1
})
}
fun testV0() {
return useUnit0(fn = local fun fnv() {
fnv() /*~> Unit */
}
)
return useUnit0(fn = { // BLOCK
local fun fnv() {
fnv() /*~> Unit */
}
::fnv
})
}
fun testV1() {
return useUnit1(fn = local fun fnv(p0: Int) {
fnv(xs = [p0]) /*~> Unit */
}
)
return useUnit1(fn = { // BLOCK
local fun fnv(p0: Int) {
fnv(xs = [p0]) /*~> Unit */
}
::fnv
})
}