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 19d7d39 commit 500ce16Copy full SHA for 500ce16
scaladoc/src/dotty/tools/scaladoc/tasty/SyntheticSupport.scala
@@ -38,7 +38,7 @@ object SyntheticsSupport:
38
c.symbol.typeRef.baseClasses.map(b => b -> c.symbol.typeRef.baseType(b)).tail
39
40
def typeForClass(using Quotes)(c: reflect.ClassDef): reflect.TypeRepr =
41
- c.symbol.typeRef.appliedTo(c.symbol.typeMembers.filter(_.isTypeParam).map(_.typeRef))
+ c.symbol.typeRef.appliedTo(c.symbol.declaredTypes.filter(_.isTypeParam).map(_.typeRef))
42
43
/* We need there to filter out symbols with certain flagsets, because these symbols come from compiler and TASTY can't handle them well.
44
They are valdefs that describe case companion objects and cases from enum.
0 commit comments