[
https://issues.apache.org/jira/browse/THRIFT-3412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14994761#comment-14994761
]
ASF GitHub Bot commented on THRIFT-3412:
----------------------------------------
GitHub user dsp opened a pull request:
https://github.com/apache/thrift/pull/685
THRIFT-3412: Missing unary operator for negative constants
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dsp/thrift THRIFT-3412
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/thrift/pull/685.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #685
----
commit c725fdc0160b9d0e0bee8f47ecf4b39adb6af00b
Author: David Soria Parra <[email protected]>
Date: 2015-11-07T00:00:30Z
Fix missing haskell import
----
> 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)