[Git][ghc/ghc][wip/sol/hie-util-docs] Don't use #line in haddocks
Simon Hengel pushed to branch wip/sol/hie-util-docs at Glasgow Haskell Compiler / GHC Commits: 934b27db by Simon Hengel at 2026-01-31T19:17:34+05:30 Don't use #line in haddocks This confuses the parser. Haddock output is unaffected by this change. (read: this still produces the same documentation) - - - - - 1 changed file: - compiler/GHC/Iface/Ext/Utils.hs Changes: ===================================== compiler/GHC/Iface/Ext/Utils.hs ===================================== @@ -461,11 +461,11 @@ in which @foozball@ and @quuuuuux@ have overlapping spans: @ module Baz where -# line 3 "Baz.hs" +# \line 3 "Baz.hs" foozball :: Int foozball = 0 -# line 3 "Baz.hs" +# \line 3 "Baz.hs" bar, quuuuuux :: Int bar = 1 quuuuuux = 2 View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/934b27dbea3a76224f8ef0a1206b604e... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/934b27dbea3a76224f8ef0a1206b604e... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Simon Hengel (@sol)