scala / scala3

The Scala 3 compiler, also known as Dotty.
https://dotty.epfl.ch
Apache License 2.0
5.88k stars 1.06k forks source link

Path dependent types in doc not rendered properly #15716

Closed prolativ closed 1 year ago

prolativ commented 2 years ago

Compiler version

3.2.1-RC1-bin-20220720-6c7acf9-NIGHTLY

Problem description

Path dependent types in scaladoc are not rendered properly - they're replaced with <none>, e.g. for object scala.deriving.Mirror:

  extension [T](p: ProductOf[T])
    def fromTuple(t: p.MirroredElemTypes): T

is displayed as

extension [T](p: [ProductOf][T])
  def fromTuple(t: <none>): T

Screenshot 2022-07-21 at 11 22 59

Dedelweiss commented 1 year ago

This problem seems to be fixed thanks to @Florian3k in PR #17213. (Tested locally)