fix ghc #24493, with module name introduced in hieAst
The accompanies haddoc PR with GHC PR ghc!12153 (closed)
Two things have been done:
- Link is introduced to every
X
inmodule X where
, since we introduce the module name to HieAst, -
{-# LINE 4 "hypsrc-test/src/PositionPragmas.hs" #-}
is added before themodule PositionPragmas where
inhypsrc-test/ref/src/PositionPragmas.html
. It ensures only a single hieAst for filehypsrc-test/src/PositionPragmas.hs
is generated.
Edited by Patrick