Why does string interpolation not work when the name of value of '$'?
In the following code, why does the value of $ not get printed? What is the mistake when the value of x is printed using string interpolation?
repl> val x="test value"
repl> val $="some value"
repl> println($)
some value
repl> println(s"value:$x")
value:test value
repl> println(s"value:$$")
value:$
Why is the $ not replaced by its value?