Skip to content

Commit

Permalink
Display min_degree and max_degree in parsed AST (#2079)
Browse files Browse the repository at this point in the history
Omission, didn't show up in tests until #2078
  • Loading branch information
Schaeff authored Nov 13, 2024
1 parent c71b790 commit 87823c1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ast/src/parsed/display.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ impl Display for MachineProperties {
.as_ref()
.map(|s| format!("degree: {s}"))
.into_iter()
.chain(self.min_degree.as_ref().map(|s| format!("min_degree: {s}")))
.chain(self.max_degree.as_ref().map(|s| format!("max_degree: {s}")))
.chain(self.latch.as_ref().map(|s| format!("latch: {s}")))
.chain(
self.operation_id
Expand Down

0 comments on commit 87823c1

Please sign in to comment.