Skip to content

Expose result of LoadFunction into constant folding #2087

@acl-cqc

Description

@acl-cqc

PR #2059 fixes the wrong handling of LoadFunction, but now extension constant folders will not see the LoadedFunctions (previously they would have seen Value::Functions, albeit malformed). This means we'll need a new enum, replacing use of Value, to pass into https://github.com/CQCL/hugr/blob/ff0252e4d7d691faea47fa5c4ca4a1f73ead2b67/hugr-core/src/extension/const_fold.rs#L33

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions