Why does an empty string with the string interpolation prefix fail to compile when followed by a statement?
For example
val test = s""
println("hello")
Fails to compile with error
error: value println is not a member of String
possible cause: maybe a semicolon is missing before `value println'?
println("hello")
But the following all compile fine:
val test = s""
val test = ""
println("hello")
def test() { s"" }
println("hello")
val test = s" "
println("hello")