Closed
Description
Compiler version
3.2.1 RC-1
Minimized example
In Tuple.scala:
inline def map[F[_]](f: [t] => t => F[t]): Map[this.type, F] =
runtime.Tuples.map(this, f).asInstanceOf[Map[this.type, F]]
Output
Scaladoc output:
def map[F[_]](f: [t] => (x$1: t) => F[t]): Map[Tuple, F]
Expectation
this.type
should be rendered as this.type
, not Tuple
. The two have very different meanings. I am not sure whether other singleton types are rendered correctly, we should check that as well.