[ https://issues.apache.org/jira/browse/THRIFT-3389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14960713#comment-14960713 ]
Nobuaki Sukegawa commented on THRIFT-3389: ------------------------------------------ The TProtocol WriteByte argument is changed from byte to in8 recently. Please make sure the same version of Thrift Go library is used. > (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: > 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)