Rem vs. mod?

I got this warning when compiling.

'mod(Int): Int' is deprecated. Use rem(other) instead

Now, the message is simple enough but it leaves me wondering what sort of change it wants. As far as I can tell there is no `rem` method or operator.

There is one now. http://kotlinlang.org/docs/reference/whatsnew11.html#rem-operator

Yes, I have seen that.

It doesn’t seem to be defined for the Int type.

Which Kotlin runtime version are you using? There’s an issue causing this message to be shown incorrectly if you’re using the runtime of version 1.0.x in the project: https://youtrack.jetbrains.com/issue/KT-16372

I’m using the version bundled with the IntelliJ plugin.