Alex Lobunets created THRIFT-3389:
-------------------------------------

             Summary: (type int8) as type byte in argument to oprot.WriteByte
                 Key: THRIFT-3389
                 URL: https://issues.apache.org/jira/browse/THRIFT-3389
             Project: Thrift
          Issue Type: Bug
          Components: Go - Compiler
    Affects Versions: 0.9.3
         Environment: OS X 10.11 / thrift: stable 0.9.3 (bottled), HEAD
            Reporter: Alex Lobunets


The following structure:

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

leads to the following error when compiling to Go:

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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to