Skip to content

bugfix: game.Clone() is not a deep copy - #54

Merged
CorentinGS merged 1 commit into
CorentinGS:mainfrom
mikeb26:gameCloneFix
Jul 12, 2025
Merged

bugfix: game.Clone() is not a deep copy#54
CorentinGS merged 1 commit into
CorentinGS:mainfrom
mikeb26:gameCloneFix

Conversation

@mikeb26

@mikeb26 mikeb26 commented Jul 11, 2025

Copy link
Copy Markdown
Contributor

Idiomatically, and per game.Clone()'s description, the returned *Game should be a deep copy. Existing code performs only a shallow copy of the tags slice.

Idiomatically, and per game.Clone()'s description, the returned *Game
should be a deep copy. Existing code performs only a shallow copy of
the tags slice.
@CorentinGS
CorentinGS merged commit 5c38673 into CorentinGS:main Jul 12, 2025
6 checks passed
@mikeb26
mikeb26 deleted the gameCloneFix branch July 12, 2025 14:13
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