Skip to content

bugfix: make setindex! on PriorityQueue return collection - #829

Merged
nsajko merged 2 commits into
JuliaCollections:masterfrom
emmt:emmt-patch-1
Oct 9, 2026
Merged

nsajko merged 2 commits into
JuliaCollections:masterfrom
emmt:emmt-patch-1

Conversation

@emmt

@emmt emmt commented Oct 4, 2022

Copy link
Copy Markdown
Contributor

To follow the abstract dictionary API, setindex! shall return the priority queue when applied to such objects. This also fixes pushing of multiple items with push! on a priority queue.

To follow the abstract dictionary API, `setindex!` shall return the priority queue when applied to such objects. This also fixes pushing of multiple items with `push!`.
@nsajko nsajko changed the title setindex! returns priority queue bugfix: make setindex! on PriorityQueue return collection instead of value Oct 9, 2026
@nsajko nsajko changed the title bugfix: make setindex! on PriorityQueue return collection instead of value bugfix: make setindex! on PriorityQueue return collection instead of elem Oct 9, 2026
@nsajko nsajko changed the title bugfix: make setindex! on PriorityQueue return collection instead of elem bugfix: make setindex! on PriorityQueue return collection Oct 9, 2026
@nsajko
nsajko merged commit b9ff234 into JuliaCollections:master Oct 9, 2026
11 of 12 checks passed
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