Fix project compilation

Compilation was broken becaise of the combination of
706ff6b61f and
9c2c11f7e9
This commit is contained in:
Denis.Zharkov
2023-03-24 14:51:38 +01:00
parent 562b27db4e
commit b148df15a9
@@ -693,7 +693,7 @@ class CallAndReferenceGenerator(
val symbol = annotationTypeRef.coneType.fullyExpandedType(session).toSymbol(session) as? FirRegularClassSymbol ?: return null
val constructorSymbol =
symbol.unsubstitutedScope(session, scopeSession, withForcedTypeCalculator = false)
symbol.unsubstitutedScope(session, scopeSession, withForcedTypeCalculator = false, memberRequiredPhase = null)
.getDeclaredConstructors().firstOrNull() ?: return null
val argumentToParameterToMapping = constructorSymbol.valueParameterSymbols.mapNotNull {