From b3855424280a821601f126b6b4c6a731b72540ea Mon Sep 17 00:00:00 2001 From: Felix Mulder Date: Tue, 1 Nov 2016 12:50:53 +0100 Subject: Make homogenize apply HKApplys The pickler doesn't unpickle to HKApply, as such - we need to print them in their applied form. --- src/dotty/tools/dotc/printing/PlainPrinter.scala | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/dotty/tools') diff --git a/src/dotty/tools/dotc/printing/PlainPrinter.scala b/src/dotty/tools/dotc/printing/PlainPrinter.scala index 4894fa019..15c382bb0 100644 --- a/src/dotty/tools/dotc/printing/PlainPrinter.scala +++ b/src/dotty/tools/dotc/printing/PlainPrinter.scala @@ -55,6 +55,8 @@ class PlainPrinter(_ctx: Context) extends Printer { homogenize(tp.info) case tp: LazyRef => homogenize(tp.ref) + case HKApply(tycon, args) => + tycon.dealias.appliedTo(args) case _ => tp } -- cgit v1.2.3