K2: Fix updateSubstitutedMemberIfReceiverContainsTypeVariable
Initially, it was a bug caused by unfortunate copy-paste, but there were no tests for this because mostly `delegation` operators are functions But after PCLA is implemented, many tests start failing For example, FirPsiOldFrontendDiagnosticsTestGenerated.Tests.BuilderInference.OneParameter.OneTypeVariable.OneTypeInfoOrigin.TypeInfoSinks.testImmutableProperties ^KT-59791 In Progress
This commit is contained in:
committed by
Space Team
parent
f831e11b4a
commit
4e26c9f2ba
+1
-1
@@ -243,7 +243,7 @@ class FirCallCompletionResultsWriterTransformer(
|
||||
return findSingleSubstitutedSymbolWithOriginal(original.symbol) { processor ->
|
||||
when (original) {
|
||||
is FirSimpleFunction -> scope.processFunctionsByName(original.name, processor)
|
||||
is FirProperty -> scope.processFunctionsByName(original.name, processor)
|
||||
is FirProperty -> scope.processPropertiesByName(original.name, processor)
|
||||
is FirConstructor -> scope.processDeclaredConstructors(processor)
|
||||
else -> error("Unexpected declaration kind ${original.render()}")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user