[ https://issues.apache.org/jira/browse/THRIFT-3971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17128244#comment-17128244 ]
Philipp Hausmann commented on THRIFT-3971: ------------------------------------------ I believe this is fixed by [https://github.com/apache/thrift/pull/1974] ? > multiple declarations constructor > --------------------------------- > > Key: THRIFT-3971 > URL: https://issues.apache.org/jira/browse/THRIFT-3971 > Project: Thrift > Issue Type: Bug > Components: Haskell - Compiler > Affects Versions: 0.9.3 > Environment: GHC-8.0.1,Cabal-1.24.1,thrift-0.9.3 > Reporter: koerriva > Priority: Major > Labels: build > Original Estimate: 360h > Remaining Estimate: 360h > > *IDL*: > bq. enum ColorA {Red=0,Green=1} > enum ColorB {Red=0,Green=1} > *HS*: > bq. data ColorA = Red | Green > bq. data ColorB = Red | Green > {panel:title=Tip|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1|bgColor=#FFFFCE} > the two datatype in one module file and the error appear when compiling > {panel} > *ERROR*: > bq. Multiple declarations of ‘Red’ > bq. Multiple declarations of ‘Green’ -- This message was sent by Atlassian Jira (v8.3.4#803005)