Open
Description
When returning an enum, we use get_type_for_variants
to build the return type. This function doesn't support when one of the variants have more than one value.
// TODO: Change this function to accept a slice of slices (for variants). Not all uses have a slice
// with one `ConcreteTypeId` per variant (deploy_syscalls has two types for the Ok() variant).
Once this has been implemented, we could update the deploy syscalls` to use this function, rather than doing it manually.
Metadata
Metadata
Assignees
Labels
No labels