[
https://issues.apache.org/jira/browse/THRIFT-2186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jake Farrell closed THRIFT-2186.
--------------------------------
Resolution: Fixed
Fix Version/s: 0.9.2
Assignee: Jake Farrell
All haskell libraries, tests and tutorials are now compiling successfully
> 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
> Assignee: Jake Farrell
> Fix For: 0.9.2
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)