17617ffd3f
For a vararg parameter type, there corresponding FIR element has a fake source of kind ArrayTypeFromVarargParameter. As a result, `getOrBuildFir` returns the whole `FirValueParameter` for the parameter type reference. Therefore, we need some special handling for this case in order to resolve the proper `KtSymbol`.
10 lines
86 B
Kotlin
Vendored
10 lines
86 B
Kotlin
Vendored
package test
|
|
|
|
class A
|
|
|
|
class Test {
|
|
fun some(vararg a: A) = <caret>a
|
|
}
|
|
|
|
// REF: a
|