LL API: add source element kind rendering to the GetOrBuildFirTest

This commit is contained in:
Ilya Kirillov
2022-01-18 13:24:09 +01:00
committed by TeamCityServer
parent 87bf6e010e
commit db1dedc9fe
102 changed files with 105 additions and 3 deletions
@@ -18,7 +18,8 @@ public interface KtCallResolverMixIn : KtAnalysisSessionMixIn {
analysisSession.callResolver.resolveCall(this)
public fun KtCallElement.resolveCall(): KtCallInfo =
analysisSession.callResolver.resolveCall(this) ?: error("KtCallElement should always resolve to a KtCallInfo")
analysisSession.callResolver.resolveCall(this)
?: error("KtCallElement should always resolve to a KtCallInfo")
public fun KtUnaryExpression.resolveCall(): KtCallInfo =
analysisSession.callResolver.resolveCall(this) ?: error("KtUnaryExpression should always resolve to a KtCallInfo")