[
https://issues.apache.org/jira/browse/THRIFT-787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christian Lavoie updated THRIFT-787:
------------------------------------
Attachment: v2-thrift-read-enums-cleanup.patch
Haven't tested this yet, but reading the code produced by the compiler, it all
looks 'obviously correct' to me (keep in mind I don't speak as3, cocoa, csharp,
erl, php, st or xsd fluently).
I should be able test about half the generators first hand this week, if nobody
beats me to it.
> 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: Spiridon Eliopoulos
> Priority: Minor
> 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.