[PSI2IR] Set reflectionTarget for all adapted references
This commit is contained in:
Vendored
+14
-8
@@ -18,10 +18,13 @@ fun testSamConstructor(): KRunnable {
|
||||
}
|
||||
|
||||
fun testSamCosntructorOnAdapted(): KRunnable {
|
||||
return local fun foo1() {
|
||||
foo1() /*~> Unit */
|
||||
}
|
||||
/*-> KRunnable */
|
||||
return { // BLOCK
|
||||
local fun foo1() {
|
||||
foo1() /*~> Unit */
|
||||
}
|
||||
|
||||
::foo1
|
||||
} /*-> KRunnable */
|
||||
}
|
||||
|
||||
fun testSamConversion() {
|
||||
@@ -29,9 +32,12 @@ fun testSamConversion() {
|
||||
}
|
||||
|
||||
fun testSamConversionOnAdapted() {
|
||||
use(r = local fun foo1() {
|
||||
foo1() /*~> Unit */
|
||||
}
|
||||
/*-> KRunnable */)
|
||||
use(r = { // BLOCK
|
||||
local fun foo1() {
|
||||
foo1() /*~> Unit */
|
||||
}
|
||||
|
||||
::foo1
|
||||
} /*-> KRunnable */)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user