You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 3, 2024. It is now read-only.
Some ill-formed tables in haddock markup cause haddock to crash with
Haddock coverage:
haddock: internal error: Data.Text.Internal.Fusion.Common.index: Index too large
CallStack (from HasCallStack):
error, called at libraries/text/Data/Text/Internal/Fusion/Common.hs:943:24 in text-1.2.4.0:Data.Text.Internal.Fusion.Common
For example, the following file cause this crash:
moduleTestwhere--|-- +-------+-----+-- | a | b |-- +=======+====+foo::Int
foo =1
I can exhibit this with haddock 2.23.0 (ghc 8.8.3). haddock 2.22.0 (with ghc 8.6.5) doesn't crash but outputs garbage instead of the table