Closed AztecBot closed 2 days ago
@vezenovm We're also getting errors on where clauses related to the NoteInterface
trait which looks like it could stem from your PR.
For reference, this is the error
For reference, this is the error
I know what is happening I will investigate the fix. I may end up just switching them over to explicit numeric generics.
Thanks! Would be good to pull a regression test over to the main repo as part of this.
Thanks! Would be good to pull a regression test over to the main repo as part of this.
I was struggling to reproduce a small example. I think the order of resolution across crates matters in this bug which complicates things. The bug was exclusive to the legacy resolver as well so I just fixed it here.
Metrics with a significant change:
Automated pull of development from the noir programming language, a dependency of Aztec. BEGIN_COMMIT_OVERRIDE fix: Implement generic functions in the interpreter (https://github.com/noir-lang/noir/pull/5330) feat: Insert trait impls into the program from type annotations (https://github.com/noir-lang/noir/pull/5327) feat: Sync from aztec-packages (https://github.com/noir-lang/noir/pull/5340) chore: address TODO in
compat.nr
(https://github.com/noir-lang/noir/pull/5339) chore: usepush_err
more in elaborator (https://github.com/noir-lang/noir/pull/5336) chore: removeis_unconstrained_fn
field from elaborator (https://github.com/noir-lang/noir/pull/5335) fix: Error when a local function is called in a comptime context (https://github.com/noir-lang/noir/pull/5334) feat: Addmap
,fold
,reduce
,any
, andall
for slices (https://github.com/noir-lang/noir/pull/5331) fix: Avoid panic in type system (https://github.com/noir-lang/noir/pull/5332) chore: remove panic for unimplemented trait dispatch (https://github.com/noir-lang/noir/pull/5329) feat: Use runtime loops for brillig array initialization (https://github.com/noir-lang/noir/pull/5243) fix: Fix tokenization of unquoted types in macros (https://github.com/noir-lang/noir/pull/5326) chore: replace cachedin_contract
within_contract()
method (https://github.com/noir-lang/noir/pull/5324) fix: fix usage of#[abi(tag)]
attribute with elaborator (https://github.com/noir-lang/noir/pull/5298) fix: don't benchmark the "prove" command as it doesn't exist anymore (https://github.com/noir-lang/noir/pull/5323) feat(stdlib): Update stdlib to use explicit numeric generics (https://github.com/noir-lang/noir/pull/5306) feat: letshould_fail_with
check that the failure reason contains the expected message (https://github.com/noir-lang/noir/pull/5319) chore: bumpbb
to 0.43.0 (https://github.com/noir-lang/noir/pull/5321) feat(frontend): Explicit numeric generics and type kinds (https://github.com/noir-lang/noir/pull/5155) feat(frontend): Where clause on impl (https://github.com/noir-lang/noir/pull/5320) END_COMMIT_OVERRIDE