Closed dickwall closed 8 years ago
Kevin has already been contacted and has taken action on this. Need someone, perhaps Kevin, to summarize current status in email to scalaslip@gmail.com, or on here, or both prior to next meeting ideally
Som Snytt has an impl at https://github.com/scala/scala/pull/4663
My main observation when proposing this was that "wrap it in backticks" is a common idiom within the Scala language for making anything valid as an identifier.
Wrapping something in backticks to make it valid has now become a broadly adopted pattern, and uniquely not honouring this in string interpolation breaks the principle of least surprise.
mailing list thread: https://groups.google.com/d/msg/scala-internals/5iW7BcNa41E/3jhwUSFwMyYJ
Request for status update for Sept 10th SLIP meeting
Rejected due to lack of support overall, and concerns that adding this conformance will actually make the rules less consistent (Martin's argument), as in: there are going to be differences in what identifiers are valid anyway, his view is that it is better to have just one valid set of identifiers off the bat - alpha-numerics, and put anything else inside of {}s like now.
Contact Kevin Wright re: current state of Backticks support in String interpolation