[Analysis API] fix "scope for class ConeClassLikeTypeImpl not found exception" when stdlib is missing

^KT-60641 fixed
This commit is contained in:
Ilya Kirillov
2023-07-24 15:50:35 +02:00
committed by Space Team
parent bfe73567c1
commit cc27bfd39a
6 changed files with 113 additions and 5 deletions
@@ -43,9 +43,7 @@ class FirIntegerConstantOperatorScope(
scopeSession,
FakeOverrideTypeCalculator.DoNothing,
requiredMembersPhase = FirResolvePhase.STATUS,
) ?: errorWithAttachment("Scope for ${baseType::class.java} not found") {
withConeTypeEntry("type", baseType)
}
) ?: Empty
}
private val mappedFunctions = mutableMapOf<Name, FirNamedFunctionSymbol>()