0x80000000 is not an Int


#1

Hi,

Can somebody explain to me why anything starting from 0x80000000 is not an Int? (I get errors when doing “val a:Int = 0x80000000”) Maybe I missed something on the docs about it, but I don’t see any references to negative integers not being… well, integers.


#2

This is a bug: negative hex numbers are not accepted as Int's now, we are working on it.


#3

Great, thanks for confirming. Do you have a bug I can watch, to know where to upgrade?

Thanks!


#4

It's KT-4749. Thanks!


#5

This still open? :frowning: