Skip to content

Commit 41df9f5

Browse files
committed
Make homogenize apply HKApplys
The pickler doesn't unpickle to HKApply, as such - we need to print them in their applied form.
1 parent a962495 commit 41df9f5

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
@@ -55,6 +55,8 @@ class PlainPrinter(_ctx: Context) extends Printer {
5555
homogenize(tp.info)
5656
case tp: LazyRef =>
5757
homogenize(tp.ref)
58+
case HKApply(tycon, args) =>
59+
tycon.dealias.appliedTo(args)
5860
case _ =>
5961
tp
6062
}

0 commit comments

Comments
 (0)