[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
@@ -20,16 +20,22 @@ fun use(fn: Function0<Any>): Any {
}
fun testFn(): Any {
return use(fn = local fun foo(): String {
return foo()
}
)
return use(fn = { // BLOCK
local fun foo(): String {
return foo()
}
::foo
})
}
fun testCtor(): Any {
return use(fn = local fun <init>(): C {
return C()
}
)
return use(fn = { // BLOCK
local fun <init>(): C {
return C()
}
::<init>
})
}