SmallSet allows all values except for the max value. So we test it on small values, including 0. HashSet by default forbids 0, so it made the test crash. We can trivially fix it by passing UnsignedWithZeroKeyHashTraits, which allows everything which is not max() or max()-1
Created attachment 429185 [details] Patch
rdar://78217299
*** Bug 225978 has been marked as a duplicate of this bug. ***
Comment on attachment 429185 [details] Patch r=me
(In reply to Robin Morisset from comment #0) > SmallSet allows all values except for the max value. > So we test it on small values, including 0. > > HashSet by default forbids 0, so it made the test crash. > We can trivially fix it by passing UnsignedWithZeroKeyHashTraits, which > allows everything which is not max() or max()-1 You should put this explanation in the ChangeLog.
Created attachment 429202 [details] Patch for landing
Committed r277817 (237964@main): <https://commits.webkit.org/237964@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 429202 [details].