Skip to content

Conversation

@loparcog
Copy link
Collaborator

As seen in Issue #26, there's are some issues with passing patterns by reference instead of by value. When using the original and passed pattern, values get divided between the two. I went through the pattern files and looked for any pattern arguments, using the copy library to do a shallow copy of each pattern so the original pattern will not be affected.

Other than PRef, this was a pretty broad change as most things seemed like they would benefit a shallow copy, so if any should be kept as a deep copy let me know.

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