You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seems to be a result of an interesting, but very consistent bug in the generated code:
// MarshalMsg implements msgp.Marshaler
func (z *TestObj) MarshalMsg(b []byte) (o []byte, err error) {
o = msgp.Require(b, z.Msgsize())
// map header, size 2
// string "ID1"
o = append(o, 0x82, 0xa3, 0x49, 0x44, 0x31)
o = msgp.AppendBytes(o, toBytes(z.ID2))
// string "ID2"
o = append(o, 0xa3, 0x49, 0x44, 0x32)
o = msgp.AppendBytes(o, toBytes(z.ID2))
return
}
(Needless to say, when I noticed that IDs were missing, it took me a very long time to even realize something was wrong.)
I haven't narrowed down what is going on, I just figured I'd file a bug report after a few solid hours of trying to figure out where my bug was in the first place :)
The text was updated successfully, but these errors were encountered:
Consider the following:
The output should be 1:2, but instead... it's :2.
This seems to be a result of an interesting, but very consistent bug in the generated code:
(Needless to say, when I noticed that IDs were missing, it took me a very long time to even realize something was wrong.)
I haven't narrowed down what is going on, I just figured I'd file a bug report after a few solid hours of trying to figure out where my bug was in the first place :)
The text was updated successfully, but these errors were encountered: