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

Build failure of Haskell example

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.2
    • Component/s: Tutorial
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      Resulting in errors like:

      HaskellServer.hs:73:60:
          Couldn't match type GHC.Int.Int32'
          Expected type: Maybe GHC.Int.Int32
            Actual type: Maybe Int
          In the ($)', namely
            Data.Text.Lazy.Internal.Text'
                      with actual type Just', namely f_InvalidOperation_why' field of a record
          In the second argument of InvalidOperation
               {f_InvalidOperation_what = Just $ fromEnum $ op work,
                f_InvalidOperation_why = Just "Cannot divide by 0"}'
      

      Blocked by: THRIFT-2187 and THRIFT-1940.

        Attachments

          Activity

            People

            • Assignee:
              jfarrell Jake Farrell
              Reporter:
              luciferous Neuman Vong

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment