terramate
terramate copied to clipboard
chore: avoid in-place modifications of AST nodes in the partial evaluation
What this PR does / why we need it:
The in-place AST modifications were a nice optimization when generation was serial but with the introduction of #1937 it's racy.
Which issue(s) this PR fixes:
none
Special notes for your reviewer:
Does this PR introduce a user-facing change?
no