bed73fd650
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.
5 lines
109 B
Kotlin
Vendored
5 lines
109 B
Kotlin
Vendored
class Foo(
|
|
a: String = "foo",
|
|
b: Int = <expr>a.length</expr>,
|
|
c: Long = (a.length - 1).toLong()
|
|
) |