Skip to content

Commit

Permalink
fix: add meta attributes to custom_attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench committed Oct 17, 2024
1 parent ff21641 commit a6cf957
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2249,7 +2249,7 @@ fn function_def_add_attribute(
}
}

if let Attribute::Secondary(SecondaryAttribute::Tag(attribute)) = attribute {
if let Attribute::Secondary(SecondaryAttribute::Tag(attribute) ) = attribute {
let func_meta = interpreter.elaborator.interner.function_meta_mut(&func_id);
func_meta.custom_attributes.push(attribute);
}
Expand Down

0 comments on commit a6cf957

Please sign in to comment.