-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Combine ExtensionSolutions (no separate closure) (#884)
* `infer::infer_extensions` returns only a combined solution (for previously-open locations), after variables instantiated * `Hugr::infer_extensions` writes (all parts of) the solution into place *and* returns it * `validate_with_extension_closure` left in-place, with test demonstrating usage w/ sub-DFGs * This should open the way (in future PRs) to changing implementation of `infer::infer_extensions`
- Loading branch information
Showing
4 changed files
with
108 additions
and
40 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
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
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
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