Skip to content

Commit 0653344

Browse files
committed
Fix rebase problem
1 parent c6b5bb1 commit 0653344

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dotty/tools/dotc/typer/Inliner.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ object Inliner {
108108

109109
// Add qualifier type as leading method argument to argument `tp`
110110
def addQualType(tp: Type): Type = tp match {
111-
case tp: PolyType => tp.derivedPolyType(tp.paramNames, tp.paramBounds, addQualType(tp.resultType))
111+
case tp: PolyType => tp.derivedGenericType(tp.paramNames, tp.paramBounds, addQualType(tp.resultType))
112112
case tp: ExprType => addQualType(tp.resultType)
113113
case tp => MethodType(qualType :: Nil, tp)
114114
}

0 commit comments

Comments
 (0)