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

blockType goes with NORMAL when unset #1081

Open
alexeyneu opened this issue May 7, 2019 · 0 comments
Open

blockType goes with NORMAL when unset #1081

alexeyneu opened this issue May 7, 2019 · 0 comments

Comments

@alexeyneu
Copy link

alexeyneu commented May 7, 2019

enum BlockType{
NORMAL = 0;
ONLYHASH = 1;
}

it either should include UNSET etc or done with oneof . Latter case could be done completely different so you'll have two different classes intead of switch-case stuff

so If oneof is not used this switch will have default case

switch br.BlockType {

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

1 participant