What would your proposal(s) be? Let's discuss it.
________________________________
Von: Ben Sigelman (JIRA)
Gesendet: 21.10.2013 22:53
An: dev@thrift.apache.org
Betreff: [jira] [Created] (THRIFT-2232) IsSet* broken in Go

Ben Sigelman created THRIFT-2232:
------------------------------------

             Summary: IsSet* broken in Go
                 Key: THRIFT-2232
                 URL: https://issues.apache.org/jira/browse/THRIFT-2232
             Project: Thrift
          Issue Type: Bug
          Components: Go - Compiler
            Reporter: Ben Sigelman


The various generated IsSetXYZ() methods just check for magic values of their 
respective fields. This is obviously broken, and also diverges from the 
implementation in other languages.

I am willing and able to fix this myself, but I don't want to start on any impl 
until we can decide on an approach.

At this point, though, optional fields in Go are basically useless if one's 
application makes use of the magic "absence" value.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to