-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Better subgraph verification errors (#587)
Added a `InvalidSubgraphBoundary` error variant so we get some info when the subgraph verification fails. Fixes: - It seems that the check for boundary nodes having outside neighbours (now `DisconnectedBoundaryPort`) was using an exhausted iterator, so it was not running. With that fixed, now I get errors in the `portmatching` crate. - `try_new_dataflow_subgraph` would return invalid subgraphs when the input is directly connected to an output. It now ignores the wires. I'll add an issue to discuss what should be best behaviour in those cases.
- Loading branch information
Showing
1 changed file
with
82 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters