Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-787

Enums are not read correctly

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.1
    • 0.5
    • Haskell - Compiler
    • None
    • All platforms

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            clavoie Christian Lavoie
            seliopou Spiros Eliopoulos
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment