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 9c94940 commit 43941f4Copy full SHA for 43941f4
compiler/src/dotty/tools/dotc/printing/RefinedPrinter.scala
@@ -201,7 +201,7 @@ class RefinedPrinter(_ctx: Context) extends PlainPrinter(_ctx) {
201
// (they don't need to because we keep the original type tree with
202
// the original annotation anyway. Therefore, there will always be
203
// one version of the annotation tree that has the correct positions).
204
- withoutPos(super.toText(tp))
+ return withoutPos(super.toText(tp))
205
case tp: SelectionProto =>
206
return "?{ " ~ toText(tp.name) ~
207
(Str(" ") provided !tp.name.toSimpleName.last.isLetterOrDigit) ~
0 commit comments