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.
2 parents d605037 + 1e806d4 commit 87ea7a6Copy full SHA for 87ea7a6
compiler/src/dotty/tools/dotc/printing/RefinedPrinter.scala
@@ -229,12 +229,6 @@ class RefinedPrinter(_ctx: Context) extends PlainPrinter(_ctx) {
229
toTextParents(tp.parents) ~~ "{...}"
230
case JavaArrayType(elemtp) =>
231
toText(elemtp) ~ "[]"
232
- case tp: AnnotatedType if homogenizedView =>
233
- // Positions of annotations in types are not serialized
234
- // (they don't need to because we keep the original type tree with
235
- // the original annotation anyway. Therefore, there will always be
236
- // one version of the annotation tree that has the correct positions).
237
- withoutPos(super.toText(tp))
238
case tp: SelectionProto =>
239
"?{ " ~ toText(tp.name) ~
240
(Str(" ") provided !tp.name.toSimpleName.last.isLetterOrDigit) ~
0 commit comments