We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cd737d commit 5460cacCopy full SHA for 5460cac
library/src/scala/tasty/reflect/Printers.scala
@@ -323,6 +323,8 @@ trait Printers
323
case Type.TypeLambda(argNames, argBounds, resType) =>
324
// resType is not printed to avoid cycles
325
this += "Type.TypeLambda(" ++= argNames += ", " ++= argBounds += ", _)"
326
+ case Type.TypeOf(underlyingTp, tree) =>
327
+ this += "Type.TypeOf(" += underlyingTp += ", " += tree += ")"
328
case TypeBounds(lo, hi) =>
329
this += "TypeBounds(" += lo += ", " += hi += ")"
330
case NoPrefix() =>
@@ -1567,6 +1569,9 @@ trait Printers
1567
1569
case Type.RecursiveThis(_) =>
1568
1570
this += highlightTypeDef("this", color)
1571
1572
+ case Type.TypeOf(_, _) =>
1573
+ this += "Any" // TODO
1574
+
1575
case _ =>
1576
throw new MatchError(tpe.show)
1577
}
0 commit comments