mirror of
https://github.com/apple/swift-collections
synced 2026-11-22 04:20:40 +00:00
remove(at:) recursed into the child holding the offset and returned without balancing it, so repeated removals could empty a leaf. Iterating then read a stale slot, which returned already-removed elements and read released references in release builds, and trapped in debug builds. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>