5869274ff1
Otherwise these tests will fail with LV=1.3
15 lines
235 B
Kotlin
Vendored
15 lines
235 B
Kotlin
Vendored
// "Rename to 'remAssign'" "true"
|
|
// DISABLE-ERRORS
|
|
|
|
object Rem {
|
|
operator fun mod(x: Int) {}
|
|
operator<caret> fun modAssign(x: Int) {}
|
|
}
|
|
|
|
fun test() {
|
|
Rem % 1
|
|
Rem.mod(1)
|
|
Rem.modAssign(1)
|
|
val c = Rem
|
|
c %= 1
|
|
} |