Fix bogus warning about numeric overflow when value is zero
#KT-17149 Fixed
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
val zero = 0
|
||||
|
||||
fun test() {
|
||||
-0
|
||||
-0L
|
||||
-0.0
|
||||
-(1 - 1)
|
||||
-zero
|
||||
|
||||
+0
|
||||
}
|
||||
Reference in New Issue
Block a user