Skip to content

nightly-2024-04-25: chore: Add error conversion from `InterpreterError` (#4896)

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 25 Apr 02:13
· 1199 commits to master since this release
7dd2c5e
# Description

## Problem\*

Resolves comment:
https://github.com/noir-lang/noir/pull/4884#discussion_r1576646720

## Summary\*

Converts from `InterpreterError` to `CustomDiagnostic` and removes the
previous `.unwrap()` placeholder so that interpreter errors are now
properly displayed.

## Additional Context



## Documentation\*

Check one:
- [x] No documentation needed.
- [ ] Documentation included in this PR.
- [ ] **[For Experimental Features]** Documentation to be submitted in a
separate PR.

# PR Checklist\*

- [x] I have tested the changes locally.
- [ ] I have formatted the changes with [Prettier](https://prettier.io/)
and/or `cargo fmt` on default settings.

---------

Co-authored-by: Maxim Vezenov <[email protected]>