Skip to content

Commit 3d9d407

Browse files
committed
Ignore LazyRefs in Tasy pickling comparisons
This came up when tasy-checking Eq.scala.
1 parent 7bbc6ad commit 3d9d407

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
@@ -51,6 +51,8 @@ class PlainPrinter(_ctx: Context) extends Printer {
5151
case tp @ TypeRef(_, tpnme.hkApply) =>
5252
val tp1 = tp.reduceProjection
5353
if (tp1 eq tp) tp else homogenize(tp1)
54+
case tp: LazyRef =>
55+
homogenize(tp.ref)
5456
case _ =>
5557
tp
5658
}

0 commit comments

Comments
 (0)