I\'m trying to perform the following line in Kotlin:
var str: KFunction = "some Word"::toUpperCase
But compiler says