mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
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`. Original commit: 17617ffd3ffcc06d1596dae0c4b4797b4c90e7cc GitOrigin-RevId: 808dc907687f22ebb6fb60eacdde1b66244d6d4a
10 lines
94 B
Kotlin
10 lines
94 B
Kotlin
package test
|
|
|
|
class A
|
|
|
|
class Test {
|
|
fun some(vararg a: <caret>A) = 12
|
|
}
|
|
|
|
// REF: (test).A
|