Remove mod function usage from tests

#KT-26654
This commit is contained in:
Ilya Gorbunov
2020-01-17 22:39:44 +03:00
parent 9fffa61596
commit b1766b167f
22 changed files with 83 additions and 164 deletions
@@ -23,14 +23,10 @@ fun local() {
<!UNSUPPORTED_FEATURE!>operator<!> fun String.remAssign(x: Int) {}
}
fun noOverflow() {
(-1).mod(5)
}
fun builtIns(b: Byte, s: Short) {
var a = 1 % 2
a %= 3
1.mod(2)
b % s
1.0 % 2.0
var a = 1 <!UNRESOLVED_REFERENCE!>%<!> 2
var d = 5
d <!UNRESOLVED_REFERENCE!>%=<!> 3
b <!UNRESOLVED_REFERENCE!>%<!> s
1.0 <!UNRESOLVED_REFERENCE!>%<!> 2.0
}