[
https://issues.apache.org/jira/browse/THRIFT-2187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14058296#comment-14058296
]
John Chee commented on THRIFT-2187:
-----------------------------------
{{0001-fully-qualified-names-in-hs-generator.patch}} uses fully qualifed
function, value, type names. It should not throw an error now if a thrift file
contains a typedef or enum named {{Maybe}} or a method named {{maybe}}.
{{make}} at the toplevel (with {{--enable-haskell}} configured) and {{make
check}} in {{test/hs}} both pass.
cc: [~roger.meier]
> Guard against ambiguous occurrences
> -----------------------------------
>
> Key: THRIFT-2187
> URL: https://issues.apache.org/jira/browse/THRIFT-2187
> Project: Thrift
> Issue Type: Bug
> Components: Haskell - Compiler, Tutorial
> Reporter: Neuman Vong
> Attachments: 0001-fully-qualified-names-in-hs-generator.patch
>
>
> Resulting in errors like:
> {noformat}
> ../gen-hs/Calculator_Client.hs:15:45:
> Ambiguous occurrence `zip'
> It could refer to either `Calculator_Client.zip',
> defined at ../gen-hs/Calculator_Client.hs:112:1
> or `Data.ByteString.Lazy.zip',
> imported from `Data.ByteString.Lazy' at
> ../gen-hs/Calculator_Client.hs:24:1
> {noformat}
> Blocking: THRIFT-2186.
--
This message was sent by Atlassian JIRA
(v6.2#6252)