0x80000000 is not an Int


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.

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

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


It's KT-4749. Thanks!

This still open? :frowning: