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 d921598 commit 692cbe5Copy full SHA for 692cbe5
compiler/src/dotty/tools/dotc/printing/RefinedPrinter.scala
@@ -607,7 +607,7 @@ class RefinedPrinter(_ctx: Context) extends PlainPrinter(_ctx) {
607
case tree: Template =>
608
toTextTemplate(tree)
609
case Annotated(arg, annot) =>
610
- toTextLocal(arg) ~~ toText(annot)
+ toTextLocal(arg) ~~ annotText(annot.symbol.enclosingClass, annot)
611
case EmptyTree =>
612
"<empty>"
613
case TypedSplice(t) =>
0 commit comments