Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions scaladoc/src/dotty/tools/scaladoc/tasty/InkuireSupport.scala
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,8 @@ trait InkuireSupport(using DocContext) extends Resources:
inner(tpe, vars) //TODO [Inkuire] Repeated types
case AnnotatedType(tpe, _) =>
inner(tpe, vars)
case FlexibleType(tpe) =>
inner(tpe, vars)
case tl @ TypeLambda(paramNames, _, resType) =>
Inkuire.TypeLambda(paramNames.map(Inkuire.TypeLambda.argument), inner(resType, vars)) //TODO [Inkuire] Type bounds
case pt @ PolyType(paramNames, _, resType) =>
Expand Down
2 changes: 2 additions & 0 deletions scaladoc/src/dotty/tools/scaladoc/tasty/TypesSupport.scala
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ trait TypesSupport:
inner(tpe, skipThisTypePrefix) :+ plain("*")
case AnnotatedType(tpe, _) =>
inner(tpe, skipThisTypePrefix)
case FlexibleType(tpe) =>
inner(tpe)
case tl @ TypeLambda(params, paramBounds, AppliedType(tpe, args))
if paramBounds.forall { case TypeBounds(low, hi) => low.typeSymbol == defn.NothingClass && hi.typeSymbol == defn.AnyClass }
&& params.length == args.length
Expand Down
Loading