Commit Graph

4 Commits

Author SHA1 Message Date
Karoy Lorentey
01d7b5799c [stdlib] Fix handling of duplicate items in generic Set.intersection
If the sequence passed to `Set.intersection` has exactly as many duplicate items as items missing from `self`, then the new implementation in 5.6 will mistakenly return `self` unchanged. (It counts duplicate hits as distinct items in the result.)

rdar://94803458
2022-06-13 14:12:48 -07:00
Karoy Lorentey
16d7525713 [test] Remove duplicate symmetricDifference tests 2021-11-09 21:39:03 -08:00
Karoy Lorentey
172b1b8502 [test] Fix error in non-Darwin builds 2021-11-03 11:59:58 -07:00
Karoy Lorentey
8e4b53b5ad [stdlib][test] Add a bit more extensive tests for high-level set operations 2021-11-02 19:35:22 -07:00