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 e6c5b18 commit df6f80cCopy full SHA for df6f80c
compiler/src/dotty/tools/dotc/printing/RefinedPrinter.scala
@@ -241,6 +241,9 @@ class RefinedPrinter(_ctx: Context) extends PlainPrinter(_ctx) {
241
toTextParents(tp.parents) ~~ "{...}"
242
case JavaArrayType(elemtp) =>
243
toText(elemtp) ~ "[]"
244
+ case tp: LazyRef if !printDebug =>
245
+ try toText(tp.ref)
246
+ catch case ex: Throwable => "..."
247
case tp: SelectionProto =>
248
"?{ " ~ toText(tp.name) ~
249
(Str(" ") provided !tp.name.toSimpleName.last.isLetterOrDigit) ~
0 commit comments