-
Type:
Bug
-
Status: Closed
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 0.9.3
-
Component/s: Compiler (General)
-
Labels:None
if you try a field def like
i32 my_field = -0x7fff
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.