Cleanup: rename getSingleExpectForActualOrNull w.r.t. KT-62590
New name makes slightly more sense after KT-6259 is fixed
This commit is contained in:
+1
-1
@@ -28,7 +28,7 @@ object FirOverloadsChecker : FirFunctionChecker() {
|
||||
val annotation = declaration.getAnnotationByClassId(JVM_OVERLOADS_CLASS_ID, session) ?: return
|
||||
|
||||
val ownerOfParametersWithDefaultValues = declaration.symbol.takeIf { !it.isActual }
|
||||
?: declaration.symbol.getSingleExpectForActualOrNull()
|
||||
?: declaration.symbol.getSingleMatchedExpectForActualOrNull()
|
||||
?: return
|
||||
|
||||
val containingDeclaration = declaration.getContainingClassSymbol(session)
|
||||
|
||||
Reference in New Issue
Block a user