Instruction::MakeArray
deduplication is incompatible with mutating arrays in unconstrained code
#6680
Labels
bug
Something isn't working
Aim
Expected Behavior
The above code to run with the slices given in comments to be printed
Bug
In ssa,
dynamic
gets deduplicated to the samemake_array
instruction asqs
. This occurs in master and is potentially problematic.This latent issue was made easier to trigger failing cases for in #6607 since reference counts were changed to effectively start at 1 instead of 2 so these arrays are actually being mutated now. This issue is still present on master though, just more difficult to trigger.
To Reproduce
Workaround
None
Workaround Description
No response
Additional Context
No response
Project Impact
None
Blocker Context
No response
Nargo Version
No response
NoirJS Version
No response
Proving Backend Tooling & Version
No response
Would you like to submit a PR for this Issue?
None
Support Needs
No response
The text was updated successfully, but these errors were encountered: