Kotlin - Functions
Identify the issue in this Kotlin code snippet:
infix fun String.repeat(times: Int, extra: Int) = this.repeat(times + extra)
fun main() {
val result = "Hi" repeat 2
println(result)
}