Kotlin Compilation Error : None of the following functions can be called with the arguments supplied
问题 I have a class whose constructor takes 2 int parameters (null values are allowed). Following is the compilation error. None of the following functions can be called with the arguments supplied: public final operator fun plus(other: Byte): Int defined in kotlin.Int public final operator fun plus(other: Double): Double defined in kotlin.Int public final operator fun plus(other: Float): Float defined in kotlin.Int public final operator fun plus(other: Int): Int defined in kotlin.Int public final