Skip to content

Commit

Permalink
formatter workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed Feb 18, 2025
1 parent 8322f0e commit 8ec5a8c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions noir-projects/aztec-nr/aztec/src/macros/mod.nr
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@ comptime fn generate_compute_note_hash_and_optionally_a_nullifier() -> Quoted {
// in the quote with `$typ::get_note_type_id()` and `$typ::unpack()`. Direct inlining would result
// in missing import warnings in the generated code (specifically, warnings that NoteInterface and
// Packable<N> are implemented but not in scope).
// Note: noir-fmt:ignore is used to avoid the following formatter bug:
// https://github.com/noir-lang/noir/issues/7407
// noir-fmt:ignore
let get_note_type_id = typ.get_trait_impl(NOTE_INTERFACE).unwrap().methods().filter(
|m| m.name() == quote { get_note_type_id },
)[0]
Expand Down

0 comments on commit 8ec5a8c

Please sign in to comment.