Skip to content

Commit b39b913

Browse files
committed
Drop unused method
1 parent acbe522 commit b39b913

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

compiler/src/dotty/tools/dotc/core/Types.scala

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3224,13 +3224,6 @@ object Types {
32243224
x => substParams(paramInfos, x),
32253225
x => resType.subst(this, x))
32263226

3227-
inline def map(inline op: Type => Type)(using Context) =
3228-
def mapParams(pinfos: List[PInfo]): List[PInfo] = pinfos match
3229-
case pinfos @ (pinfo :: rest) =>
3230-
pinfos.derivedCons(op(pinfo).asInstanceOf[PInfo], mapParams(rest))
3231-
case nil => nil
3232-
derivedLambdaType(paramNames, mapParams(paramInfos), op(resType))
3233-
32343227
protected def prefixString: String
32353228
override def toString: String = s"$prefixString($paramNames, $paramInfos, $resType)"
32363229
}

0 commit comments

Comments
 (0)