fun foo(): Int = 1 fun test() { foo() = 1 foo().toString() = 1 (if (true) foo() else 1) = "" run { print("To string").also { print(it) } } = 1 }