Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
0.12.0
-
None
-
None
Description
With the following .thrift file:
struct Dummy {
1: string dummy;
}
const Dummy emptyDummy = { }
the Thrift compiler generates Haskell code with an empty record update:
emptyDummy :: Dummy emptyDummy = default_Dummy{}
This doesn't compile. I think removing {} fixes the problem?