[SR-4005] elementsEqual should allow heterogenous comparisons #46590
Labels
affects ABI
Flag: Affects ABI
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
good first issue
Good for newcomers
standard library
Area: Standard library umbrella
Additional Detail from JIRA
md5: 05dd3b208bbe9991fa5d1d5e7d99ead7
Issue Description:
The version of
elementsEqual
in the Swift standard library that allows the caller to supply a predicate for comparing the elements of two sequences requires that the elements of the two sequences be the same. However, if the user is supplying a predicate to make the comparison, this should not be necessary.The text was updated successfully, but these errors were encountered: