Skip to content

Commit eaf6033

Browse files
committed
Drop unused method
1 parent dd7c68b commit eaf6033

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
@@ -3226,13 +3226,6 @@ object Types {
32263226
x => substParams(paramInfos, x),
32273227
x => resType.subst(this, x))
32283228

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

0 commit comments

Comments
 (0)