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 d9b8c08 commit 37848e9Copy full SHA for 37848e9
src/dotty/tools/dotc/printing/RefinedPrinter.scala
@@ -617,7 +617,7 @@ class RefinedPrinter(_ctx: Context) extends PlainPrinter(_ctx) {
617
}
618
619
override def toText(denot: Denotation): Text = denot match {
620
- case denot: MultiDenotation => denot.toString
+ case denot: MultiDenotation => Text(denot.alternatives.map(dclText), " <and> ")
621
case NoDenotation => "NoDenotation"
622
case _ =>
623
if (denot.symbol.exists) toText(denot.symbol)
0 commit comments