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.
When processing inclusion of named chunks in export lists, haddock 2.16.0 appears to only process the first in a consecutive series of named chunks, when an attempt is made to include multiple chunks without an intervening declaration.
To reproduce:
Place the following content in Foo.hs:
moduleFoo
(
-- $chunk1-- $chunk2
foo,
-- $chunk3
bar
)
where{- $chunk1This is chunk 1.-}{- $chunk2This is chunk 2.-}{- $chunk3This is chunk 3.-}
foo =3
bar =7
Run haddock -o .\foodoc -h Foo.hs.
Observe that the result includes chunks 1 and 3, but not 2.