Skip to content

Commit 3560e56

Browse files
committed
Add normalizeHkApply to homogenize
Fixes some discrepancies in Tasty typing.
1 parent db4d934 commit 3560e56

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/dotty/tools/dotc/printing/PlainPrinter.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ class PlainPrinter(_ctx: Context) extends Printer {
5353
case tp @ TypeRef(_, tpnme.hkApplyOBS) =>
5454
val tp1 = tp.reduceProjection
5555
if (tp1 eq tp) tp else homogenize(tp1)
56+
case tp: RefinedType =>
57+
tp.normalizeHkApply
5658
case tp: LazyRef =>
5759
homogenize(tp.ref)
5860
case _ =>

0 commit comments

Comments
 (0)