It does get confusing when you take Kotlin's `invo...
# getting-started
r
It does get confusing when you take Kotlin's
invoke
into account:
Copy code
fun main() {
    val println = "fred"
    println("hello")
}

operator fun String.invoke(string: String) = println("$this$string")
will print
fredhello
, but if you comment out the operator function, it just prints
hello
.