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

lang: Unit structs not allowed in IDL #232

Closed
armaniferrante opened this issue May 1, 2021 · 3 comments
Closed

lang: Unit structs not allowed in IDL #232

armaniferrante opened this issue May 1, 2021 · 3 comments
Labels
help wanted Extra attention is needed lang

Comments

@armaniferrante
Copy link
Member

armaniferrante commented May 1, 2021

Unit and tuple structs are explicitly disallowed in the program interface definition, currently.

@mschneider
Copy link
Contributor

"not allowed" should be enforced when updating IDL. it actually happened already twice that one of our apps broke because of the tuple enum exception.

@darkmode-ff
Copy link

would love to see this become active again 👀

@acheroncrypto
Copy link
Collaborator

Added in #2824.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed lang
Projects
None yet
Development

No branches or pull requests

4 participants