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 dd7c68b commit eaf6033Copy full SHA for eaf6033
compiler/src/dotty/tools/dotc/core/Types.scala
@@ -3226,13 +3226,6 @@ object Types {
3226
x => substParams(paramInfos, x),
3227
x => resType.subst(this, x))
3228
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
-
3236
protected def prefixString: String
3237
override def toString: String = s"$prefixString($paramNames, $paramInfos, $resType)"
3238
}
0 commit comments