This is a known bug in the Kotlin IDE plugin.
This is due to the obsolescence of the mod function in Kotlin 1.1, which should be replaced by rem (see Other changes to this blog post ). But the IDE plugin reports incorrectly and offers a quick fix even for earlier versions of Kotlin that did not have rem .
Unitl is fixed, you can either upgrade your project to Kotlin 1.1, or suppress warnings or just ignore them.
source share