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 acbe522 commit b39b913Copy full SHA for b39b913
compiler/src/dotty/tools/dotc/core/Types.scala
@@ -3224,13 +3224,6 @@ object Types {
3224
x => substParams(paramInfos, x),
3225
x => resType.subst(this, x))
3226
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
-
3234
protected def prefixString: String
3235
override def toString: String = s"$prefixString($paramNames, $paramInfos, $resType)"
3236
}
0 commit comments