Closed jba closed 3 years ago
Oops - sorry about that. That was some leftover debugging output, while I was implementing a less intrusive empty check. I will remove it now. Things should work ok.
See https://github.com/ugorji/go/blob/master/codec/gen.go#L1076
We tried to see if we can compare directly to a zero value. But since you have slices, then the type is not comparable and we cannot compare to the zero value of the struct, so we have to compare field by field (which we do).
Ignore the output for now, and I will fix it in a subsequent update later this week (likely tomorrow).
When I run
codecgen
on the following file I get the output???? !!!! We shouldn't get to this point !!!! ???????? !!!! We shouldn't get to this point !!!! ????
.