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

Neuman Vong updated THRIFT-2186:
--------------------------------

    Patch Info: Patch Available
    
> Build failure of Haskell example
> --------------------------------
>
>                 Key: THRIFT-2186
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2186
>             Project: Thrift
>          Issue Type: Bug
>          Components: Tutorial
>            Reporter: Neuman Vong
>         Attachments: thrift-2186-fix-haskell-tutorial.patch
>
>
> Resulting in errors like:
> {noformat}
> 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"}'
> {noformat}
> Blocked by: THRIFT-2187 and THRIFT-1940.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to