Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
raviqqe committed Dec 5, 2023
1 parent e54499d commit 8043790
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions macro/src/dialect/operation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,11 @@ impl<'a> Operation<'a> {
.collect()
}

fn collect_derived_attributes(def: Record<'a>) -> Result<Vec<OperationField<'a>>, Error> {
def.values()
fn collect_derived_attributes(
definition: Record<'a>,
) -> Result<Vec<OperationField<'a>>, Error> {
definition
.values()
.filter_map(|value| {
let Ok(def) = Record::try_from(value) else {
return None;
Expand Down

0 comments on commit 8043790

Please sign in to comment.