koerriva created THRIFT-3971:
--------------------------------
Summary: 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: Critical
Fix For: 0.10.0
*IDL*:
bq. enum ColorA {Red=0,Green=1}
bq. enum ColorB {Red=0,Green=1}
*HS*:
bq. data ColorA = Red | Green
bq. data ColorB = Red | Green
*ERROR*:
bq. Multiple declarations of ‘Red’
bq. Multiple declarations of ‘Green’
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)