Open miquels opened 4 years ago
That's definitely supposed to work! Typic's guts were recently in a bit of flux, and I'm not surprised I might have broken something. Thank you very much for filing the issue.
Judging from the error message, it seems like I might have an off-by-one error in the either the layout computation, or maybe when elements are chomped off the array Array
, when compatibility is being checked. (Ugh!)
I'm trying to serialize a struct into a [u8; size] array that has a member that's also a struct. I've tried a lot of variations but nothing works. I this supposed to work? The below code gives this error:
This is the code: