[LL FIR] getOrBuildFir tests should render fir file

We need it to see how many declarations were resolved

^KT-59266
This commit is contained in:
Dmitrii Gridin
2023-06-13 15:09:13 +02:00
committed by Space Team
parent 8c2f1acc7e
commit aad99fd6eb
185 changed files with 2313 additions and 130 deletions
@@ -5,4 +5,18 @@ FIR source kind: KtRealSourceElementKind
FIR element rendered:
public final [ResolvedTo(BODY_RESOLVE)] fun x(): R|kotlin/String| {
^x String()
}
}
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] memberFunction.kt
[ResolvedTo(BODY_RESOLVE)] annotations container
public final [ResolvedTo(STATUS)] class Y : R|kotlin/Any| {
public [ResolvedTo(STATUS)] constructor(): R|Y| {
LAZY_super<R|kotlin/Any|>
}
public final [ResolvedTo(BODY_RESOLVE)] fun x(): R|kotlin/String| {
^x String()
}
}