Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: error for allocate instructions in acir-gen (#5200)
# Description ## Problem\* Resolves #5175 ## Summary\* When we cannot resolve some references to an array, its allocate is not simplified and we get a panic. I changed this to an error message saying that we could not resolve all references from the array. I believe an error message is better than the panic, however I am not sure whether having remaining allocates only happens because of this case. ## Additional Context ## Documentation\* Check one: - [ ] No documentation needed. - [ ] Documentation included in this PR. - [ ] **[For Experimental Features]** Documentation to be submitted in a separate PR. # PR Checklist\* - [ ] I have tested the changes locally. - [ ] I have formatted the changes with [Prettier](https://prettier.io/) and/or `cargo fmt` on default settings.
- Loading branch information