We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6b5bb1 commit 0653344Copy full SHA for 0653344
src/dotty/tools/dotc/typer/Inliner.scala
@@ -108,7 +108,7 @@ object Inliner {
108
109
// Add qualifier type as leading method argument to argument `tp`
110
def addQualType(tp: Type): Type = tp match {
111
- case tp: PolyType => tp.derivedPolyType(tp.paramNames, tp.paramBounds, addQualType(tp.resultType))
+ case tp: PolyType => tp.derivedGenericType(tp.paramNames, tp.paramBounds, addQualType(tp.resultType))
112
case tp: ExprType => addQualType(tp.resultType)
113
case tp => MethodType(qualType :: Nil, tp)
114
}
0 commit comments