Skip to content

Commit

Permalink
Fix DataflowBlock::inner_signature (fixes 2*cfg tests in infer.rs)
Browse files Browse the repository at this point in the history
  • Loading branch information
acl-cqc committed May 30, 2024
1 parent 759af86 commit 07c09cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hugr-core/src/ops/controlflow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ impl DataflowParent for DataflowBlock {
let mut node_outputs = vec![sum_type];
node_outputs.extend_from_slice(&self.other_outputs);
FunctionType::new(self.inputs.clone(), TypeRow::from(node_outputs))
.with_extension_delta(self.extension_delta.clone())
}
}

Expand Down

0 comments on commit 07c09cd

Please sign in to comment.