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

Support UDT enums with non-unit tuple variants #494

Closed
jonjove opened this issue Aug 26, 2022 · 1 comment
Closed

Support UDT enums with non-unit tuple variants #494

jonjove opened this issue Aug 26, 2022 · 1 comment

Comments

@jonjove
Copy link
Contributor

jonjove commented Aug 26, 2022

What problem does your feature solve?

Right now it's not permitted to do

#[contracttype]
enum Enum {
    Variant(u32, u32),
}

Related to #427

What would you like to see?

Allow UDT enums with non-unit tuple variants.

What alternatives are there?

TODO

@graydon
Copy link
Contributor

graydon commented Feb 13, 2023

Fixed in #850

@graydon graydon closed this as completed Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants