Skip to content

Commit 0caf5ea

Browse files
author
grek
committed
Fix printing of Char constants.
Fixed bug in printing of Char Constants logic used by Tree printers. Fixes #4792. No review. git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@25284 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
1 parent c30f0bf commit 0caf5ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/scala/reflect/internal/Constants.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ trait Constants extends api.Constants {
225225
case NullTag => "null"
226226
case StringTag => "\"" + escape(stringValue) + "\""
227227
case ClassTag => "classOf[" + signature(typeValue) + "]"
228-
case CharTag => escape("'" + escapedChar(charValue) + "'")
228+
case CharTag => "'" + escapedChar(charValue) + "'"
229229
case LongTag => longValue.toString() + "L"
230230
case _ => String.valueOf(value)
231231
}

0 commit comments

Comments
 (0)