[ 
https://issues.apache.org/jira/browse/THRIFT-233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jens Geyer reassigned THRIFT-233:
---------------------------------

    Assignee: Jens Geyer

> IDL doesn't support negative hex literals
> -----------------------------------------
>
>                 Key: THRIFT-233
>                 URL: https://issues.apache.org/jira/browse/THRIFT-233
>             Project: Thrift
>          Issue Type: Bug
>          Components: Compiler (General)
>            Reporter: Bryan Duxbury
>            Assignee: Jens Geyer
>            Priority: Trivial
>
> if you try a field def like
> {code}
> i32 my_field = -0x7fff
> {code}
> the compiler complains. If you try to make the value a two's complement 
> negative number without the sign, then it assumes it was supposed to be a 
> long, and the Java compiler chokes on the assignment. 
> It'd be nice if we supported negative hex literals.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to