Skip to content

Commit ef827b5

Browse files
committed
Drop redundant homogenization
1 parent a82c0fb commit ef827b5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

compiler/src/dotty/tools/dotc/printing/RefinedPrinter.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,6 @@ class RefinedPrinter(_ctx: Context) extends PlainPrinter(_ctx) {
169169
}
170170

171171
homogenize(tp) match {
172-
case x: ConstantType if homogenizedView =>
173-
return toText(x.widen)
174172
case AppliedType(tycon, args) =>
175173
val cls = tycon.typeSymbol
176174
if (tycon.isRepeatedParam) return toTextLocal(args.head) ~ "*"

0 commit comments

Comments
 (0)