[FIR] Fix captured type arguments of local class as callable reference LHS
#KT-66267
This commit is contained in:
committed by
Space Team
parent
66212c0ec6
commit
4c93e9cff6
+1
@@ -23,6 +23,7 @@ object FirTypeArgumentsOfQualifierOfCallableReferenceChecker : FirCallableRefere
|
||||
val lhs = expression.explicitReceiver as? FirResolvedQualifier ?: return
|
||||
val correspondingDeclaration = lhs.symbol ?: return
|
||||
|
||||
// TODO(KT-66344) Support inner classes
|
||||
var typeArgumentsWithSourceInfo = lhs.typeArguments.toTypeArgumentsWithSourceInfo()
|
||||
var typeParameterSymbols = correspondingDeclaration.typeParameterSymbols.filter { it.containingDeclarationSymbol is FirClassLikeSymbol }
|
||||
if (typeParameterSymbols.size != typeArgumentsWithSourceInfo.size) {
|
||||
|
||||
Reference in New Issue
Block a user