diff --git a/compiler/fir/fir2ir/src/org/jetbrains/kotlin/fir/backend/generators/CallAndReferenceGenerator.kt b/compiler/fir/fir2ir/src/org/jetbrains/kotlin/fir/backend/generators/CallAndReferenceGenerator.kt index f018144c21b..7e2a459c7df 100644 --- a/compiler/fir/fir2ir/src/org/jetbrains/kotlin/fir/backend/generators/CallAndReferenceGenerator.kt +++ b/compiler/fir/fir2ir/src/org/jetbrains/kotlin/fir/backend/generators/CallAndReferenceGenerator.kt @@ -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 {