Warning for integer overflow
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
val a1: Int = <!INTEGER_OVERFLOW!>32000.toShort() * 32000.toShort() * 32000.toShort()<!>
|
||||
val a2: Int = <!INTEGER_OVERFLOW!>128.toByte() * 128.toByte() * 128.toByte() * 128.toByte() * 128.toByte()<!>
|
||||
Reference in New Issue
Block a user