Open NgoKimPhu opened 1 year ago
This PR fixes #459 (panic on embedded struct with recursive) and #468 which is caused by a missing population of anonymous struct fields into encoder.compileContext.structTypeToCodes in the logic of encoder.StructCode.ToAnonymousOpcode.
encoder.compileContext.structTypeToCodes
encoder.StructCode.ToAnonymousOpcode
ready to merge, I meet same issue
This PR fixes #459 (panic on embedded struct with recursive) and #468 which is caused by a missing population of anonymous struct fields into
encoder.compileContext.structTypeToCodes
in the logic ofencoder.StructCode.ToAnonymousOpcode
.