I'm using the Kotlin REPL from Intellij Idea.
When I type this:
println("line 1 ")
println("line 2 ")
print("same ")
print("line")
I expect this output:
"line 1 "
"line 2 "
"same line"
But instead I get:
"line 1 line 2 same line"
Why?