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 f4d15a4 commit ae3b12bCopy full SHA for ae3b12b
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