haskell / haddock

Haskell Documentation Tool
www.haskell.org/haddock/
BSD 2-Clause "Simplified" License
361 stars 242 forks source link

A few identifier rendering issues, possibly duplicates #1623

Closed chreekat closed 2 months ago

chreekat commented 6 months ago

Sorry I don't know how to make reproducers.

In short, https://github.com/brendanhay/amazonka/issues/970 , which I will copy here for ease of reading:


Take for example https://hackage.haskell.org/package/amazonka-s3-2.0/docs/Amazonka-S3.html#v:newPutObject

image

Where is all the $sel stuff coming from?

Why are the comments for the first two arguments erroneous?

Maybe related: #1608

Lysxia commented 6 months ago

It may be related to the fact that PutObject is a record type but gets rendered as a non-record type.

chreekat commented 3 months ago

https://gitlab.haskell.org/ghc/ghc/-/issues/24558

chreekat commented 2 months ago

Fixed upstream.

Or is that downstream