File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
library/src/scala/tasty/reflect Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -323,6 +323,8 @@ trait Printers
323
323
case Type .TypeLambda (argNames, argBounds, resType) =>
324
324
// resType is not printed to avoid cycles
325
325
this += " Type.TypeLambda(" ++= argNames += " , " ++= argBounds += " , _)"
326
+ case Type .TypeOf (underlyingTp, tree) =>
327
+ this += " Type.TypeOf(" += underlyingTp += " , " += tree += " )"
326
328
case TypeBounds (lo, hi) =>
327
329
this += " TypeBounds(" += lo += " , " += hi += " )"
328
330
case NoPrefix () =>
@@ -1567,6 +1569,9 @@ trait Printers
1567
1569
case Type .RecursiveThis (_) =>
1568
1570
this += highlightTypeDef(" this" , color)
1569
1571
1572
+ case Type .TypeOf (_, _) =>
1573
+ this += " Any" // TODO
1574
+
1570
1575
case _ =>
1571
1576
throw new MatchError (tpe.show)
1572
1577
}
You can’t perform that action at this time.
0 commit comments