Fix AssertionError on overloading function with property in actual class
#KT-22352 Fixed
This commit is contained in:
@@ -153,6 +153,10 @@ object PositioningStrategies {
|
||||
TypeParameterUpperBounds, TypeParameterVariance, TypeParameterReified -> {
|
||||
(element as? KtTypeParameterListOwner)?.typeParameterList
|
||||
}
|
||||
CallableKind -> {
|
||||
(callableDeclaration as? KtNamedFunction)?.funKeyword
|
||||
?: (callableDeclaration as? KtProperty)?.valOrVarKeyword
|
||||
}
|
||||
ParameterShape -> {
|
||||
callableDeclaration?.let { it.receiverTypeReference ?: it.valueParameterList }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user