Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-3389

(type int8) as type byte in argument to oprot.WriteByte

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 0.9.3
    • None
    • Go - Compiler
    • None
    • OS X 10.11 / thrift: stable 0.9.3 (bottled), HEAD

    Description

      The following structure:

      struct SomeData {
      1: byte pos,
      //...
      }

      leads to the following error when compiling:

      ttypes.go:274: cannot use int8(p.Pos) (type int8) as type byte in argument to oprot.WriteByte

      Attachments

        Activity

          People

            Unassigned Unassigned
            olx Alex Lobunets
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: