[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
@@ -3,4 +3,14 @@ FIR element: FirPropertyAccessExpressionImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
R|<local>/anyClass|
R|<local>/anyClass|
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] javaClassLiteral.kt
[ResolvedTo(BODY_RESOLVE)] annotations container
public final [ResolvedTo(BODY_RESOLVE)] fun main([ResolvedTo(BODY_RESOLVE)] args: R|kotlin/Array<kotlin/String>|): R|kotlin/Unit| {
[ResolvedTo(BODY_RESOLVE)] lval anyClass: R|kotlin/Any| = R|kotlin/Any.Any|()
R|/funOne|(<ERROR TYPE REF: Qualified expression with unexpected selector>ERROR_EXPR(Incorrect selector expression)R|<local>/anyClass|)
}
public final [ResolvedTo(CONTRACTS)] fun funOne([ResolvedTo(CONTRACTS)] x: R|kotlin/Any|): R|kotlin/Unit| {
}