Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Preliminary support for unions added. #63
This is really far from complete, but it starts addressing #22 by filling in everything straightforward. Here are the issues AFAICT
Is there anything else I'm missing here? I think there is something to do with incomplete types that you did for structs that also applies to unions. I'm thinking of this...
This build fails because one of the big changes that comes with this last commit (that adds what I think is complete support for union initialization) is that
Personally I am in favour of the latter (if we are generating rust that only compiles on rust nightly, it seems fairly reasonably to say we run on GHC 8.0), but I'll leave the choice up to you.