Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ast: Fix deep copy on Module to include comments #3801

Merged
merged 2 commits into from
Sep 16, 2021

Conversation

tsandall
Copy link
Member

Previously comments were not being deep copied which could lead to
data races from the transfomer and other places.

Fixes #3793

Signed-off-by: Torin Sandall [email protected]

Previously comments were not being deep copied which could lead to
data races from the transfomer and other places.

Fixes open-policy-agent#3793

Signed-off-by: Torin Sandall <[email protected]>
@srenatus srenatus merged commit dd9fed3 into open-policy-agent:main Sep 16, 2021
@srenatus
Copy link
Contributor

Transformer, transfomer. 🙈

dolevf pushed a commit to dolevf/opa that referenced this pull request Nov 4, 2021
)

Previously comments were not being deep copied which could lead to
data races from the transfomer and other places.

Fixes open-policy-agent#3793

Signed-off-by: Torin Sandall <[email protected]>
Signed-off-by: Dolev Farhi <[email protected]>
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.

concurrency issues in types.Compare()
2 participants