Aladdin - Scala Bugtracking
[#498] project: compiler priority: medium category: bug
submitter assigned to status date submitted
Stephane Martin fixed 2005-11-24 11:12:22.0
subject Wrong handling of octal and hexadecimal characters
code
object test_nsc {
  def main(args: Array[String]): Unit = {
    Console.println("ab");
    Console.println("\141\142");
    Console.println("\0x61\0x62");
  }
}
what happened
ab
a142
6162
what expected
ab
ab
x61x62
as in Java and scalac !
[back to overview]
Changes of this bug report
Martin  edited on  2005-11-24 15:33:55.0