You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Bryan Duxbury (JIRA)" <ji...@apache.org> on 2010/09/28 01:40:34 UTC

[jira] Closed: (THRIFT-787) Enums are not read correctly

     [ https://issues.apache.org/jira/browse/THRIFT-787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bryan Duxbury closed THRIFT-787.
--------------------------------

      Assignee: Christian Lavoie  (was: Spiridon Eliopoulos)
    Resolution: Fixed

I just committed this. There were a few other little blobs of calls to the has_value() method in as3, python, and cpp compilers that seemed superfluous, so I whacked those too. Thanks for the patch, Christian!

> Enums are not read correctly
> ----------------------------
>
>                 Key: THRIFT-787
>                 URL: https://issues.apache.org/jira/browse/THRIFT-787
>             Project: Thrift
>          Issue Type: Bug
>          Components: Haskell - Compiler
>    Affects Versions: 0.1
>         Environment: All platforms
>            Reporter: Spiridon Eliopoulos
>            Assignee: Christian Lavoie
>            Priority: Minor
>             Fix For: 0.5
>
>         Attachments: 0001--THRIFT-787-Fix-bug-in-enum-deserialization.patch, v2-thrift-read-enums-cleanup.patch
>
>
> The Haskell (and OCaml) generators emit incorrect code for enum deserilalization. The value counter is not reset to -1 before the deserialization function is generated.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.