From 06630cb9900291c6de7bf6689d22483ac2f065bd Mon Sep 17 00:00:00 2001 From: Aztec Bot <49558828+AztecBot@users.noreply.github.com> Date: Wed, 10 Jul 2024 05:00:15 -0400 Subject: [PATCH] feat: Sync from noir (#7400) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Automated pull of development from the [noir](https://github.com/noir-lang/noir) programming language, a dependency of Aztec. BEGIN_COMMIT_OVERRIDE feat: lsp rename/find-all-references for local variables (https://github.com/noir-lang/noir/pull/5439) feat: remove duplicated array reads at constant indices (https://github.com/noir-lang/noir/pull/5445) fix: Account for the expected kind when resolving turbofish generics (https://github.com/noir-lang/noir/pull/5448) fix: Fix issue with unresolved results (https://github.com/noir-lang/noir/pull/5453) feat: apply `no_predicates` in stdlib (https://github.com/noir-lang/noir/pull/5454) fix: prevent `no_predicates` from removing predicates in calling function (https://github.com/noir-lang/noir/pull/5452) feat: lsp rename/find-all-references for globals (https://github.com/noir-lang/noir/pull/5415) feat: remove redundant `EnableSideEffects` instructions (https://github.com/noir-lang/noir/pull/5440) END_COMMIT_OVERRIDE --------- Co-authored-by: Tom French <15848336+TomAFrench@users.noreply.github.com> Co-authored-by: Tom French Co-authored-by: Álvaro Rodríguez --- aztec/src/utils/test.nr | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aztec/src/utils/test.nr b/aztec/src/utils/test.nr index d8c1edd5..5ea5ad23 100644 --- a/aztec/src/utils/test.nr +++ b/aztec/src/utils/test.nr @@ -75,7 +75,8 @@ fn verify_collapse_hints_hint_length_mismatch() { verify_collapse_hints(original, collapsed, collapsed_to_input_index_mapping); } -#[test(should_fail_with="Out of bounds index hint")] +// https://github.com/noir-lang/noir/issues/5464 +#[test(should_fail)] fn verify_collapse_hints_out_of_bounds_index_hint() { let original = [Option::some(7), Option::none(), Option::some(3)]; let collapsed = BoundedVec::from_array([7, 3]);