Do not show warning for mod from built-ins when LV=1.0
#KT-16372 Fixed
This commit is contained in:
@@ -24,5 +24,13 @@ fun local() {
|
||||
}
|
||||
|
||||
fun noOverflow() {
|
||||
(-1).<!DEPRECATION!>mod<!>(5)
|
||||
(-1).mod(5)
|
||||
}
|
||||
|
||||
fun builtIns(b: Byte, s: Short) {
|
||||
var a = 1 % 2
|
||||
a %= 3
|
||||
1.mod(2)
|
||||
b % s
|
||||
1.0 % 2.0
|
||||
}
|
||||
Reference in New Issue
Block a user