FIR: move typealias SAM constructor computation to FirSamResolver

This commit is contained in:
pyos
2022-10-20 12:47:54 +02:00
committed by Space Team
parent 982e743774
commit 3253789093
7 changed files with 88 additions and 133 deletions
@@ -27,7 +27,7 @@ internal class KtFirTypeInfoProvider(
firSession,
analysisSession.getScopeSessionFor(firSession),
)
return samResolver.getSamInfoForPossibleSamType(coneType) != null
return samResolver.isSamType(coneType)
}
override fun getFunctionClassKind(type: KtType): FunctionClassKind? {