File tree 1 file changed +4
-4
lines changed
doc-tool/src/dotty/tools/dottydoc/model 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ object factories {
79
79
case TypeBounds (lo, hi) =>
80
80
BoundsReference (expandTpe(lo), expandTpe(hi))
81
81
82
- case t : PolyParam =>
82
+ case t : TypeParamRef =>
83
83
typeRef(t.paramName.show, params = params)
84
84
85
85
case ExprType (tpe) =>
@@ -160,7 +160,7 @@ object factories {
160
160
paramLists(pt.resultType)
161
161
162
162
case mt : MethodType =>
163
- ParamListImpl (mt.paramNames.zip(mt.paramTypes ).map { case (name, tpe) =>
163
+ ParamListImpl (mt.paramNames.zip(mt.paramInfos ).map { case (name, tpe) =>
164
164
NamedReference (
165
165
name.decode.toString,
166
166
returnType(tpe),
@@ -169,13 +169,13 @@ object factories {
169
169
)
170
170
}, mt.isImplicit) :: paramLists(mt.resultType)
171
171
172
- case mp : MethodParam =>
172
+ case mp : TermParamRef =>
173
173
paramLists(mp.underlying)
174
174
175
175
case annot : AnnotatedType =>
176
176
paramLists(annot.tpe)
177
177
178
- case (_ : PolyParam | _ : RefinedType | _ : TypeRef | _ : ThisType |
178
+ case (_ : TypeParamRef | _ : RefinedType | _ : TypeRef | _ : ThisType |
179
179
_ : ExprType | _ : OrType | _ : AndType | _ : HKApply |
180
180
_ : TermRef | _ : ConstantType ) =>
181
181
Nil // return types should not be in the paramlist
You can’t perform that action at this time.
0 commit comments