Fix typo (FirUpperBoundViolatedExpressionChecker)
This commit is contained in:
+6
-6
@@ -29,15 +29,15 @@ object FirUpperBoundViolatedExpressionChecker : FirQualifiedAccessExpressionChec
|
|||||||
// declarations with their declared bounds.
|
// declarations with their declared bounds.
|
||||||
// it may be the called function declaration
|
// it may be the called function declaration
|
||||||
// or the class declaration
|
// or the class declaration
|
||||||
val calleReference = expression.calleeReference
|
val calleeReference = expression.calleeReference
|
||||||
var calleeSymbol: FirCallableSymbol<*>? = null
|
var calleeSymbol: FirCallableSymbol<*>? = null
|
||||||
if (calleReference is FirResolvedNamedReference) {
|
if (calleeReference is FirResolvedNamedReference) {
|
||||||
calleeSymbol = calleReference.toResolvedCallableSymbol()
|
calleeSymbol = calleeReference.toResolvedCallableSymbol()
|
||||||
} else if (calleReference is FirErrorNamedReference) {
|
} else if (calleeReference is FirErrorNamedReference) {
|
||||||
if (calleReference.diagnostic is ConeInapplicableWrongReceiver) {
|
if (calleeReference.diagnostic is ConeInapplicableWrongReceiver) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
calleeSymbol = calleReference.candidateSymbol as? FirCallableSymbol<*>
|
calleeSymbol = calleeReference.candidateSymbol as? FirCallableSymbol<*>
|
||||||
}
|
}
|
||||||
|
|
||||||
val typeArguments: List<TypeArgumentWithSourceInfo>
|
val typeArguments: List<TypeArgumentWithSourceInfo>
|
||||||
|
|||||||
Reference in New Issue
Block a user