[Analysis API FIR] fix containing declaration for value parameter

now it should also work for non-source declarations
This commit is contained in:
Ilya Kirillov
2022-11-18 18:04:33 +01:00
parent 7781ad67d4
commit f775778efa
6 changed files with 21 additions and 4 deletions
@@ -4,4 +4,5 @@ fun y() fromClass BB
val c: Int fromClass BB
constructor(a: A<Int>) fromClass BB
constructor(a: A<Int>) fromClass BB
a: A<Int> from <constructor> BB
@@ -2,6 +2,7 @@ fun <T> foo() fromClass Y
T from /Y.foo
fun equals(other: Any?): Boolean fromClass kotlin/Any
other: Any? from kotlin/Any.equals
fun hashCode(): Int fromClass kotlin/Any
@@ -1,13 +1,16 @@
fun <S> foo1(t: Int): Int fromClass Y
S from /Y.foo1
t: Int from /Y.foo1
fun <Q> foo2(t: Int) fromClass Y
Q from /Y.foo2
t: Int from /Y.foo2
fun <U> foo3() fromClass X
U from /X.foo3
fun equals(other: Any?): Boolean fromClass kotlin/Any
other: Any? from kotlin/Any.equals
fun hashCode(): Int fromClass kotlin/Any