haddock
haddock copied to clipboard
A rendering issue of destructurs
Current haddock head of ghc-9.2 branch (041385bc43f0b99d26077787eb8ed9e394766438) renders toLazyTMVar defined by:
newtype StrictTMVar m a = StrictTMVar { toLazyTMVar :: LazyTMVar m a }
as
<a id="v:-36-sel:toLazyTMVar:StrictTMVar" class="def">$sel:toLazyTMVar:StrictTMVar</a>
certainly the inner part of the link should just be toLazyTMVar
The $sel is absolutely an abstraction leak, it's a sign that the code that the compiler had a record selector disambiguation extension activated.
You're right it has DuplicateRecordFields turned on which implies DisambiguateRecordFields.