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
Xinmodule X where, since we introduce the module name to HieAst, -
{-# LINE 4 "hypsrc-test/src/PositionPragmas.hs" #-}is added before themodule PositionPragmas whereinhypsrc-test/ref/src/PositionPragmas.html. It ensures only a single hieAst for filehypsrc-test/src/PositionPragmas.hsis generated.
Edited by Patrick