File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
compiler/src/dotty/tools/dotc/printing Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -229,12 +229,6 @@ class RefinedPrinter(_ctx: Context) extends PlainPrinter(_ctx) {
229
229
toTextParents(tp.parents) ~~ " {...}"
230
230
case JavaArrayType (elemtp) =>
231
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
232
case tp : SelectionProto =>
239
233
" ?{ " ~ toText(tp.name) ~
240
234
(Str (" " ) provided ! tp.name.toSimpleName.last.isLetterOrDigit) ~
You can’t perform that action at this time.
0 commit comments