leo
leo copied to clipboard
[Fix] Informative error on empty struct.
This PR updates the type checker to return an informative error if a struct is declared without any members.
Closes https://github.com/AleoNet/snarkVM/issues/2058.