[
https://issues.apache.org/jira/browse/THRIFT-3412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14995712#comment-14995712
]
Aki Sukegawa commented on THRIFT-3412:
--------------------------------------
[~davidsp] have you observed any problem caused by this ?
The patch imports Prelude's binary \(\-) that is supposed to be unrelated to
unary \(\-).
unary \(\-) should be always available regardless of the symbol/namespace state
of the scope.
> Missing unary operator for negative constants
> ---------------------------------------------
>
> Key: THRIFT-3412
> URL: https://issues.apache.org/jira/browse/THRIFT-3412
> Project: Thrift
> Issue Type: Bug
> Components: Haskell - Compiler
> Affects Versions: 0.9.3
> Reporter: David Soria Parra
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> Negative constants require the unary haskell operator (-) from Prelude.
> However the operator is not correctly imported and therefore a negatice
> constants such as -1.0 fails.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)