Skip to content

[Bug]: SwapWith causes an error#8

Merged
jordanmontt merged 1 commit intopharo-containers:masterfrom
seandenigris:bug_swap-with-error
Mar 20, 2026
Merged

[Bug]: SwapWith causes an error#8
jordanmontt merged 1 commit intopharo-containers:masterfrom
seandenigris:bug_swap-with-error

Conversation

@seandenigris
Copy link
Copy Markdown
Contributor

OrderedSet overrides #at:put: to prevent duplication, but #swap:with: temporarily creates duplication during the operation. Fix uses super at:put:.

Includes a test which fails initially and passes with the fix applied.

OrderedSet overrides `#at:put:` to prevent duplication, but `#swap:with:` temporarily creates duplication during the operation. Fix uses `super at:put:`.

Includes a test which fails initially and passes with the fix applied.
@jordanmontt jordanmontt merged commit 169b5cb into pharo-containers:master Mar 20, 2026
12 checks passed
@seandenigris seandenigris deleted the bug_swap-with-error branch March 20, 2026 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants