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 32bd66a commit 28ca0beCopy full SHA for 28ca0be
doc-tool/src/dotty/tools/dottydoc/model/factories.scala
@@ -120,6 +120,9 @@ object factories {
120
121
case ref @ RefinedType(parent, rn, info) =>
122
expandTpe(parent) //FIXME: will be a refined HK, aka class Foo[X] { def bar: List[X] } or similar
123
+
124
+ case tp: LazyRef =>
125
+ expandTpe(tp.ref)
126
}
127
128
expandTpe(t)
@@ -175,9 +178,7 @@ object factories {
175
178
case annot: AnnotatedType =>
176
179
paramLists(annot.tpe)
177
180
- case (_: TypeParamRef | _: RefinedType | _: TypeRef | _: ThisType |
- _: ExprType | _: OrType | _: AndType | _: AppliedType |
- _: TermRef | _: ConstantType) =>
181
+ case _ =>
182
Nil // return types should not be in the paramlist
183
184
0 commit comments