-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Ops require their own extensions #734
Closed
Closed
Changes from 22 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
f1e1e6f
Add Value::extension_reqs (not used yet)
acl-cqc cdc5785
Add OpTrait::extension_delta, non-empty for Const or DataflowOp
acl-cqc 9e1b3eb
Fix test_conditional_inference
acl-cqc b47ad17
Fix test_tuple_sum by build_traits.rs: when adding load_const, do not…
acl-cqc bb66a8b
Fix static_targets
acl-cqc 35e1787
add_constant drop ExtensionSet parameter - always empty
acl-cqc 1da3a63
Fix replace::test::cfg (pending issue #388)
acl-cqc 6c76919
clippy (cross-version issues)
acl-cqc 25852a3
...and fmt
acl-cqc 4856b17
Union OpDef's extension with that from SignatureFunc - in former not …
acl-cqc d07d186
Fix simple_linear (with lift)
acl-cqc dee0825
Fix nonlinear_and_outputs with another Lift
acl-cqc 5ae9281
Fix nested_identity + copy_insertion (many Lift's + parameterize over…
acl-cqc 265df79
fix op_def.rs tests
acl-cqc b87c884
Fix search_variable_deps to handle solved Meta, and fix replace test
acl-cqc 97f9b87
Fix (simple_)replacement tests
acl-cqc 9f51a9b
fix test_ext_edge
acl-cqc bc585f4
fix test_local_const
acl-cqc 4721505
fix full_region/flat_region tests
acl-cqc 91c1b22
Fix test_binary_signatures
acl-cqc 3a281c4
Fix dataflow_ports_only
acl-cqc 89cea89
sibling_subgraph: add lift nodes to test, pass extension delta to con…
acl-cqc 6f0b215
Merge remote-tracking branch 'origin/main' into HEAD
acl-cqc 4c4bb87
Add ExtensionSet::union_over
acl-cqc b8de62f
driveby turn lambda into ExtensionSet::union
acl-cqc b407523
Merge remote-tracking branch 'origin/main' into HEAD
acl-cqc 7f59d6f
Merge commit 'b4075239' into fix/ops_require_ext
acl-cqc 66bff43
Add extra set in 'impl SignatureFunc' rather than 'impl OpDef'
acl-cqc fe8eaf1
a bit of clippy
acl-cqc 22c4458
Fix cross-version unused-imports in views/tests.rs
acl-cqc File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AFAICS solved constraints get removed here:
hugr/src/extension/infer.rs
Lines 633 to 635 in 6959c89
so we have to handle them somehow. However I haven't looked into this all that hard so may have missed something @croyzor ?