You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Description
## Problem\*
Resolves#6065
## Summary\*
Ensures the stack trace used in assertion failure messages at comptime
have the correct ordering. The old scheme was grouping together each
location by file and ordering by line number so I changed it to just
show filenames like we do in SSA when there's a failing assert.
## 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.
- [x] I have formatted the changes with [Prettier](https://prettier.io/)
and/or `cargo fmt` on default settings.
Aim
Writing code with a failing assert at comptime, several functions deep.
Expected Behavior
The resulting error message should show the call stack in order.
Note that in the following example,
or_else
should notassert(self._is_some);
:Bug
The call stack is instead grouped by the file and shown by the line order in the file rather than the call order.
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: