You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Rodrigo Setti (JIRA)" <ji...@apache.org> on 2013/04/08 22:13:15 UTC
[jira] [Updated] (THRIFT-1921) Make Haskell work with new GHC
[ https://issues.apache.org/jira/browse/THRIFT-1921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rodrigo Setti updated THRIFT-1921:
----------------------------------
Attachment: thrift-hs-fix.patch
> Make Haskell work with new GHC
> ------------------------------
>
> Key: THRIFT-1921
> URL: https://issues.apache.org/jira/browse/THRIFT-1921
> Project: Thrift
> Issue Type: Bug
> Components: Haskell - Compiler
> Reporter: Rodrigo Setti
> Attachments: thrift-hs-fix.patch
>
>
> The Thrift Haskell compiler is generating code that's not working with the current version of Haskell's GHC compiler, and the current Haskell library.
> The fix is simple, in two places:
> * Remove the import {{import Thrift.Types ()}} because this moduled does not exist.
> * Map Thrift type {{string}} to Haskell's {{String}} (instead of {{Text}}) - that's what the Haskell Thrift library accepts.
--
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