• Kirill Smelkov's avatar
    go/neo/proto: protogen: Fix it not to silently skip a pointer field · a7c10aec
    Kirill Smelkov authored
    Without the fix any pointer field of a struct would be silently skipped
    without any serialization code generated for it. With the patch default
    case triggers in and reports detail where such type is and in which
    struct/field it is used.
    
    Besides *mem.Buf - that is handled specially - we don't have pointers in
    proto.go, so this currently does not affect generated code at all.
    
    Noticed accidentally.
    a7c10aec
protogen.go 33.2 KB