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

bug: Importing functions from other modules changes the hugr output #13

Open
croyzor opened this issue Jul 25, 2024 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@croyzor
Copy link
Collaborator

croyzor commented Jul 25, 2024

Comparing

qid :: { Qubit -o Qubit }
qid  = { q => q }

my_circ :: { Qubit -o Qubit }
my_circ = { q => qid(q) }

to the same program where qid is imported from another file, the latter seems to cut off the return type from qid

@croyzor croyzor self-assigned this Jul 25, 2024
@croyzor croyzor added the bug Something isn't working label Jul 25, 2024
croyzor added a commit that referenced this issue Jul 25, 2024
It doesn't import from lib.kernel anymore, isn't victim to #13
croyzor added a commit that referenced this issue Aug 7, 2024
It doesn't import from lib.kernel anymore, isn't victim to #13
croyzor added a commit that referenced this issue Oct 10, 2024
It doesn't import from lib.kernel anymore, isn't victim to #13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant