You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "James E. King III (JIRA)" <ji...@apache.org> on 2018/12/18 16:38:00 UTC
[jira] [Commented] (THRIFT-3971) multiple declarations constructor
[ https://issues.apache.org/jira/browse/THRIFT-3971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16724228#comment-16724228 ]
James E. King III commented on THRIFT-3971:
-------------------------------------------
Could you improve the title on this for me?
Is it still Critical?
> 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
> Labels: build
> Fix For: 1.0
>
> 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
(v7.6.3#76005)