Files
kotlin-fork/analysis/low-level-api-fir/testData/contextCollector/parameter.kt
T
Yan Zhulanow bed73fd650 [Analysis API] Collect designations only for autonomous declarations
Parameters, type parameters, and property accessors are not
self-sufficient declarations (their resolution depends on resolution
of their parent), so a proper designation path cannot be computed
for them.

Without a designation path, 'ContextCollector' performs analysis of the
whole file, which is inefficient.
2024-01-05 16:04:14 +00:00

4 lines
70 B
Kotlin
Vendored

class Foo {
fun foo(<expr>abc: Int</expr>) {}
fun other() {}
}