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 3374d3a commit efb4d7cCopy full SHA for efb4d7c
compiler/src/dotty/tools/dotc/printing/PlainPrinter.scala
@@ -171,7 +171,8 @@ class PlainPrinter(_ctx: Context) extends Printer {
171
val core: Text =
172
if !cs.isConst && cs.elems.isEmpty then "?"
173
else "{" ~ Text(cs.processElems(_.toList.map(toTextCapability)), ", ") ~ "}"
174
- // ~ Str("?").provided(!cs.isConst)
+ ~ Str("?").provided(ccVerbose && !cs.isConst)
175
+ ~ Str(s"#${cs.asVar.id}").provided(showUniqueIds && !cs.isConst)
176
core ~ cs.optionalInfo
177
178
private def toTextRetainedElem[T <: Untyped](ref: Tree[T]): Text = ref match
0 commit comments