Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Invalid
-
None
-
None
-
None
-
Patch Available
Description
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:
- 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.
- Don't map "include" to "import qualified" (symbols are expected to be in the global scope).
Attachments
Attachments
Issue Links
- is related to
-
THRIFT-1927 Add Haskell required Hashable instances
- Closed
- relates to
-
THRIFT-1927 Add Haskell required Hashable instances
- Closed