You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Guppy appears to generate hugr modules that contain multiple functions with the same name and parent node. This is currently accepted by hugr-core but is considered an error in hugr-model to ensure that functions can be unambiguously referred to by their name.
The first hugr in the output JSON contains two functions named __hasnext__, two functions called __next__ and three functions called init_none. It appears that all of these functions are different from each other, so it is not a case of the same function being exported twice.
The text was updated successfully, but these errors were encountered:
Guppy appears to generate hugr modules that contain multiple functions with the same name and parent node. This is currently accepted by
hugr-core
but is considered an error inhugr-model
to ensure that functions can be unambiguously referred to by their name.Concretely, consider the following guppy code:
The guppy code
The first hugr in the output JSON contains two functions named
__hasnext__
, two functions called__next__
and three functions calledinit_none
. It appears that all of these functions are different from each other, so it is not a case of the same function being exported twice.The text was updated successfully, but these errors were encountered: