[Git][ghc/ghc][master] Don't use #line in haddocks
Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC Commits: 9e3d6a58 by Simon Hengel at 2026-03-09T04:51:15-04:00 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/9e3d6a5853347af30561e25cb15ba9ab... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/9e3d6a5853347af30561e25cb15ba9ab... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Marge Bot (@marge-bot)