Skip to content

Fix Map.put-! duplicate length increment#1557

Open
sqrew wants to merge 1 commit into
carp-lang:masterfrom
sqrew:fix/map-put-duplicates
Open

Fix Map.put-! duplicate length increment#1557
sqrew wants to merge 1 commit into
carp-lang:masterfrom
sqrew:fix/map-put-duplicates

Conversation

@sqrew

@sqrew sqrew commented May 28, 2026

Copy link
Copy Markdown
Contributor

Fixes a bug where Map.put-! unconditionally incremented the length field even when updating an existing key. This caused the length counter to become incorrect over time.

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.

1 participant