Skip to content

Commit

Permalink
Merge branch 'master' into debug-highlight-code
Browse files Browse the repository at this point in the history
  • Loading branch information
mverzilli authored Oct 17, 2023
2 parents cd6ec09 + 6f97cc7 commit 570df32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/noirc_frontend/src/hir/aztec_library.rs
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ fn collect_crate_structs(crate_id: &CrateId, context: &Context) -> Vec<StructId>
fn transform_event(struct_id: StructId, interner: &mut NodeInterner) {
let struct_type = interner.get_struct(struct_id);
let selector_id = interner
.lookup_method(&Type::Struct(struct_type, vec![]), struct_id, "selector", true)
.lookup_method(&Type::Struct(struct_type, vec![]), struct_id, "selector", false)
.expect("Selector method not found");
let selector_function = interner.function(&selector_id);

Expand Down

0 comments on commit 570df32

Please sign in to comment.