Interestingly, Scala handles it http://pastebin.com/CT36K6Hj
It feels like an artifact of the REPL tho, as one shouldn't be able to redefine x
But there's still no type-level distinction between immutable and mutable bindings, which is why included Scala in the “anything goes” category.