Skip to content
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

monomorphize: change from Hugr -> Hugr to HugrMut -> Result<()> #1803

Open
doug-q opened this issue Dec 17, 2024 · 0 comments
Open

monomorphize: change from Hugr -> Hugr to HugrMut -> Result<()> #1803

doug-q opened this issue Dec 17, 2024 · 0 comments

Comments

@doug-q
Copy link
Collaborator

doug-q commented Dec 17, 2024

Unless there is a good reason we need a Hugr @acl-cqc ?

Surely we need to be returning a Result, there are many unwraps that can go wrong for Extension reasons at least.

We should move the validates into a MonomorphizePass analogous with ConstantFoldPass

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant