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

Code generator fix. Added missing union type initialization when using lists in unions. #56

Merged
merged 1 commit into from
Dec 16, 2016

Conversation

anxtfux
Copy link
Contributor

@anxtfux anxtfux commented Dec 16, 2016

When lists were used as union elements the code generator missed the lines to set the 2 byte union type to the corresponding enum value.

@dwrensha dwrensha merged commit cb0fdba into capnproto:master Dec 16, 2016
@dwrensha
Copy link
Member

Good catch. Thanks! I've added some tests that would have caught this: 2c43bd7

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

Successfully merging this pull request may close these issues.

None yet

2 participants