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
When retrieving errors from failed assertions, the legacy mode used to point to the whole failed expression. Now using the elaborator some parts are missing, which permeates all the way to the e2e tests in aztec-packages:
Note the squiggly line misses the exclamation mark when using the elaborator.
Expected Behavior
A failed assertion should point to the whole failed statement, without skipping operators.
Bug
The code snippet in the assertion is incomplete.
To Reproduce
fnmain(test:bool){assert(!test,"Blablabla!");}
Prover.toml
test = true
Project Impact
Nice-to-have
Impact Context
It's not a blocker, but it certainly makes things very confusing by providing incorrect context on errors.
Workaround
None
Workaround Description
No response
Additional Context
No response
Installation Method
Compiled from source
Nargo Version
No response
NoirJS 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:
# Description
## Problem
Resolves#5523
## Summary
The span of a Prefix expression was taken from its prefixed expression
instead of from the entire expression.
## Additional Context
I'm not sure how to test this 🤔
## 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.
# Description
## Problem
Resolves#5523
## Summary
The span of a Prefix expression was taken from its prefixed expression
instead of from the entire expression.
## Additional Context
I'm not sure how to test this 🤔
## 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
When retrieving errors from failed assertions, the legacy mode used to point to the whole failed expression. Now using the elaborator some parts are missing, which permeates all the way to the e2e tests in aztec-packages:
Note the squiggly line misses the exclamation mark when using the elaborator.
Expected Behavior
A failed assertion should point to the whole failed statement, without skipping operators.
Bug
The code snippet in the assertion is incomplete.
To Reproduce
Prover.toml
Project Impact
Nice-to-have
Impact Context
It's not a blocker, but it certainly makes things very confusing by providing incorrect context on errors.
Workaround
None
Workaround Description
No response
Additional Context
No response
Installation Method
Compiled from source
Nargo Version
No response
NoirJS 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: