bed6cb7154
Previously, when no file annotations were present, the FIR element didn't have a source. By making it nullable, it will only be created when appropriate and the source will never be null. #KT-55835
52 lines
1.8 KiB
Plaintext
52 lines
1.8 KiB
Plaintext
KT element: KtNameReferenceExpression
|
|
FIR element: FirResolvedNamedReferenceImpl
|
|
FIR source kind: KtRealSourceElementKind
|
|
|
|
FIR element rendered:
|
|
R|/A.prop|
|
|
|
|
FIR FILE:
|
|
FILE: [ResolvedTo(IMPORTS)] qualifiedCallInsideSuperCall4.kt
|
|
public open [ResolvedTo(STATUS)] class A : R|kotlin/Any| {
|
|
public [ResolvedTo(STATUS)] [ContainingClassKey=A] constructor([ResolvedTo(STATUS)] init: R|A.() -> kotlin/Unit|): R|A| {
|
|
LAZY_super<R|kotlin/Any|>
|
|
}
|
|
|
|
public final [ResolvedTo(CONTRACTS)] val prop: R|kotlin/String| = String()
|
|
public [ResolvedTo(CONTRACTS)] [ContainingClassKey=A] get(): R|kotlin/String|
|
|
|
|
}
|
|
public final [ResolvedTo(STATUS)] object B : R|A| {
|
|
private [ResolvedTo(STATUS)] [ContainingClassKey=B] constructor(): R|B| {
|
|
LAZY_super<R|A|>
|
|
}
|
|
|
|
}
|
|
public final [ResolvedTo(STATUS)] object C : R|A| {
|
|
private [ResolvedTo(STATUS)] [ContainingClassKey=C] constructor(): R|C| {
|
|
LAZY_super<R|A|>
|
|
}
|
|
|
|
}
|
|
public final [ResolvedTo(BODY_RESOLVE)] class G : R|A| {
|
|
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=G] error_constructor(): R|G| {
|
|
super<R|A|>([ResolvedTo(RAW_FIR)] fun R|A|.<anonymous>(): R|kotlin/Unit| <inline=Unknown> {
|
|
local final [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/String| {
|
|
^foo Q|B|.R|/A.prop|.R|kotlin/String.toString|()
|
|
}
|
|
|
|
}
|
|
)
|
|
}
|
|
|
|
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=G] constructor(): R|G| {
|
|
super<R|A|>([ResolvedTo(RAW_FIR)] fun R|A|.<anonymous>(): R|kotlin/Unit| <inline=Unknown> {
|
|
local final [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/String| {
|
|
^foo Q|C|.R|/A.prop|.R|kotlin/String.toString|()
|
|
}
|
|
|
|
}
|
|
)
|
|
}
|
|
|
|
} |