-
Notifications
You must be signed in to change notification settings - Fork 248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: give "correct" error when trying to use AsTraitPath #7360
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
michaeljklein
approved these changes
Feb 13, 2025
AztecBot
added a commit
to AztecProtocol/aztec-packages
that referenced
this pull request
Feb 14, 2025
TomAFrench
added a commit
that referenced
this pull request
Feb 14, 2025
* master: (42 commits) fix: give "correct" error when trying to use AsTraitPath (#7360) chore: avoid u128s in brillig memory (#7363) chore: update docs about integer overflows (#7370) fix!: Only decrement the counter of an array if its address has not changed (#7297) fix: let LSP read `noirfmt.toml` for formatting files (#7355) chore: deprecate keccak256 (#7361) feat: `FunctionDefinition::as_typed_expr` (#7358) feat(performance): Check sub operations against induction variables (#7356) chore: avoid doing all brillig integer arithmetic on u128s (#7357) feat(cli): Add `--target-dir` option (#7350) fix(ssa): Make the lookback feature opt-in (#7190) feat(performance): Use unchecked ops based upon known induction variables (#7344) chore: mark sha256 as deprecated from the stdlib (#7351) fix: incorrect secondary file in LSP errors (#7347) chore: Basic test for MSM in Noir to catch performance improvements and regressions (#7341) fix(cli): Only lock the packages selected in the workspace (#7345) chore: remove some unused types and functions in the AST (#7339) chore: remove foreign calls array from Brillig VM constructor (#7337) chore(ci): Add Vecs and vecs to cspell (#7342) chore: redo typo PR by osrm (#7238) ...
AztecBot
added a commit
to AztecProtocol/aztec-packages
that referenced
this pull request
Feb 14, 2025
…oir-lang/noir#7393) chore: document traits required to be in scope (noir-lang/noir#7387) fix: field zero division in brillig (noir-lang/noir#7386) chore: box `ParserError`s in `InterpreterError` (noir-lang/noir#7373) chore: remove unnecessary dereferencing within brillig vm (noir-lang/noir#7375) fix: give "correct" error when trying to use AsTraitPath (noir-lang/noir#7360)
AztecBot
added a commit
to AztecProtocol/aztec-packages
that referenced
this pull request
Feb 14, 2025
…oir#7393) chore: document traits required to be in scope (noir-lang/noir#7387) fix: field zero division in brillig (noir-lang/noir#7386) chore: box `ParserError`s in `InterpreterError` (noir-lang/noir#7373) chore: remove unnecessary dereferencing within brillig vm (noir-lang/noir#7375) fix: give "correct" error when trying to use AsTraitPath (noir-lang/noir#7360)
TomAFrench
added a commit
to AztecProtocol/aztec-packages
that referenced
this pull request
Feb 14, 2025
Automated pull of development from the [noir](https://github.com/noir-lang/noir) programming language, a dependency of Aztec. BEGIN_COMMIT_OVERRIDE fix(ssa): Do not deduplicate division by a zero constant (noir-lang/noir#7393) chore: document traits required to be in scope (noir-lang/noir#7387) fix: field zero division in brillig (noir-lang/noir#7386) chore: box `ParserError`s in `InterpreterError` (noir-lang/noir#7373) chore: remove unnecessary dereferencing within brillig vm (noir-lang/noir#7375) fix: give "correct" error when trying to use AsTraitPath (noir-lang/noir#7360) END_COMMIT_OVERRIDE --------- Co-authored-by: Tom French <[email protected]>
TomAFrench
added a commit
that referenced
this pull request
Feb 14, 2025
…rom-brillig * master: chore: allow opting in to displaying benchmark comments (#7399) chore: box `ExprValue` in `Value` enum (#7388) chore: pull out refactored methods from u128 branch (#7385) feat: require safety comments instead of safety doc comments (#7295) fix(ssa): Do not deduplicate division by a zero constant (#7393) chore: document traits required to be in scope (#7387) fix: field zero division in brillig (#7386) chore: box `ParserError`s in `InterpreterError` (#7373) chore: remove unnecessary dereferencing within brillig vm (#7375) fix: give "correct" error when trying to use AsTraitPath (#7360) chore: avoid u128s in brillig memory (#7363) chore: update docs about integer overflows (#7370) fix!: Only decrement the counter of an array if its address has not changed (#7297) fix: let LSP read `noirfmt.toml` for formatting files (#7355) chore: deprecate keccak256 (#7361) feat: `FunctionDefinition::as_typed_expr` (#7358) feat(performance): Check sub operations against induction variables (#7356) chore: avoid doing all brillig integer arithmetic on u128s (#7357)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Problem
Resolves #7080
Summary
The issue seems to have been fixed in a past PR (I can't remember which one) but with a misleading error about using unquote. This PR changes the error to something more accurate.
Additional Context
Documentation
Check one:
PR Checklist
cargo fmt
on default settings.