We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5184419 commit f987191Copy full SHA for f987191
compiler/src/dotty/tools/dotc/printing/PlainPrinter.scala
@@ -531,6 +531,8 @@ class PlainPrinter(_ctx: Context) extends Printer {
531
case ClazzTag => "classOf[" ~ toText(const.typeValue) ~ "]"
532
case CharTag => literalText(s"'${escapedChar(const.charValue)}'")
533
case LongTag => literalText(const.longValue.toString + "L")
534
+ case DoubleTag => literalText(const.doubleValue.toString + "d")
535
+ case FloatTag => literalText(const.floatValue.toString + "f")
536
case _ => literalText(String.valueOf(const.value))
537
}
538
0 commit comments