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
|
||||
}
|
||||
@@ -1,5 +1,6 @@
|
||||
package
|
||||
|
||||
public fun builtIns(/*0*/ b: kotlin.Byte, /*1*/ s: kotlin.Short): kotlin.Unit
|
||||
public fun local(): kotlin.Unit
|
||||
public fun noOverflow(): kotlin.Unit
|
||||
public operator fun Baz.rem(/*0*/ x: kotlin.Int): kotlin.Unit
|
||||
|
||||
Reference in New Issue
Block a user