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 da4a9ee commit 8d6389aCopy full SHA for 8d6389a
compiler/src/dotty/tools/dotc/printing/Formatting.scala
@@ -28,6 +28,7 @@ object Formatting {
28
case arg: Showable =>
29
try arg.show
30
catch {
31
+ case ex: CyclicReference => "..."
32
case NonFatal(ex)
33
if !ctx.mode.is(Mode.PrintShowExceptions) &&
34
!ctx.settings.YshowPrintErrors.value =>
0 commit comments