Skip to content

Commit

Permalink
Merge branch 'main' into chore/refactor-dialect-macro-5
Browse files Browse the repository at this point in the history
  • Loading branch information
raviqqe authored Feb 14, 2024
2 parents cb2cb2c + c1b1ea6 commit 939422d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions macro/src/dialect/operation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -285,12 +285,12 @@ impl<'a> Operation<'a> {
}

fn collect_results(
def: Record<'a>,
definition: Record<'a>,
same_size: bool,
attribute_sized: bool,
) -> Result<(Vec<OperationField>, usize), Error> {
Self::collect_elements(
&Self::dag_constraints(def, "results")?
&Self::dag_constraints(definition, "results")?
.into_iter()
.map(|(name, constraint)| (name, TypeConstraint::new(constraint)))
.collect::<Vec<_>>(),
Expand Down

0 comments on commit 939422d

Please sign in to comment.