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.
27 lines
1.3 KiB
Plaintext
Vendored
27 lines
1.3 KiB
Plaintext
Vendored
Tower Data Context:
|
|
Element 0
|
|
Scope: FirDefaultStarImportingScope
|
|
Element 1
|
|
Scope: FirExplicitStarImportingScope
|
|
Element 2
|
|
Scope: FirDefaultSimpleImportingScope
|
|
Element 3
|
|
Scope: FirDefaultSimpleImportingScope
|
|
Element 4
|
|
Scope: FirPackageMemberScope
|
|
Element 5
|
|
Scope: FirExplicitSimpleImportingScope
|
|
Element 6
|
|
Scope: FirLocalScope
|
|
Properties:
|
|
FirValueParameterSymbol a: R|kotlin/String| = String(foo)
|
|
FirValueParameterSymbol b: R|kotlin/Int| = R|<local>/a|.R|kotlin/String.length|
|
|
FirValueParameterSymbol c: R|kotlin/Long| = R|<local>/a|.R|kotlin/String.length|.R|kotlin/Int.minus|(Int(1)).R|kotlin/Int.toLong|()
|
|
|
|
FILE: [ResolvedTo(IMPORTS)] primaryConstructorParameter.kt
|
|
public final [ResolvedTo(ANNOTATION_ARGUMENTS)] class Foo : R|kotlin/Any| {
|
|
public [ResolvedTo(BODY_RESOLVE)] constructor([ResolvedTo(BODY_RESOLVE)] a: R|kotlin/String| = String(foo), [ResolvedTo(BODY_RESOLVE)] b: R|kotlin/Int| = R|<local>/a|.R|kotlin/String.length|, [ResolvedTo(BODY_RESOLVE)] c: R|kotlin/Long| = R|<local>/a|.R|kotlin/String.length|.R|kotlin/Int.minus|(Int(1)).R|kotlin/Int.toLong|()): R|Foo| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
} |