[FIR] Add compatibleOnly parameter to getSingleCompatibleExpectForActualOrNull
Rename `getSingleCompatibleExpectForActualOrNull` to `getSingleExpectForActualOrNull`
This commit is contained in:
committed by
Space Team
parent
d600d768a6
commit
1e09e8663c
+1
-1
@@ -336,7 +336,7 @@ class ExpectedActualDeclarationChecker(
|
||||
}
|
||||
}
|
||||
}
|
||||
val expectSingleCandidate = compatibility.values.singleOrNull()?.firstOrNull()
|
||||
val expectSingleCandidate = compatibility.values.singleOrNull()?.singleOrNull()
|
||||
if (expectSingleCandidate != null) {
|
||||
checkIfExpectHasDefaultArgumentsAndActualizedWithTypealias(expectSingleCandidate, reportOn, trace)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user