Skip to content

Commit a474421

Browse files
committed
Use ClassDef.supertypes in Scaladoc
1 parent 6dde4b1 commit a474421

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scaladoc/src/dotty/tools/scaladoc/tasty/ClassLikeSupport.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ trait ClassLikeSupport:
7979
Seq(link -> superLink) ++ getSupertypesGraph(tree, superLink)
8080
}
8181

82-
val supertypes = getSupertypes(using qctx)(classDef).map {
82+
val supertypes = classDef.supertypes.map {
8383
case (symbol, tpe) =>
8484
LinkToType(tpe.asSignature, symbol.dri, bareClasslikeKind(symbol))
8585
}

0 commit comments

Comments
 (0)