Aladdin - Scala Bugtracking
[#387] project: compiler priority: low category: bug
submitter assigned to status date submitted
Philippe Martin open 2004-12-13 18:51:20.0
subject Special characters in `stringLit` are translated: * -> $times, etc
code
trait Bug {
  def `*` = 0;
}
what happened
Creates a class with a field named "$times".
what expected This should create a field named "*". There should be no translation of `stringLit` identifiers. Otherwise the purpose of such ids is partially defeated. For example, currently it would be impossible to reference something whose name contains a * (which is possible on .NET and maybe also on the JVM).
[back to overview]
Changes of this bug report
Burak  edited on  2005-06-10 18:43:03.0

Martin, I remember we discussed the necessary changes once in a meeting.

Maybe it would be wise to take care of this for nsc?