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
fix: used_extensions should include transitive requirements (#2891)
When gathering the extensions required to define a Hugr, we only
included the ones that were directly referenced by the Hugr definition
(inside types or operations).
To correctly load a Hugr, however, we also need to have access to any
extension referenced by the _extension definitions_ themselves (in the
signature of their operation definitions). Otherwise we wouldn't be able
to load the bundled extensions, as we saw happen with guppy programs
after Quantinuum/guppylang#1449 got merged.
This equally affected the rust and python computation of used
extensions.
0 commit comments