Ticket #291 (closed defect: invalid)

Opened 19 months ago

Last modified 19 months ago

Two parse errors?

Reported by: Kron Owned by:
Priority: minor Milestone:
Version: Keywords:


The $block parsing seems to be a bit wonky. Or maybe I'm just doing this wrong. There are two parse errors in this example:

1) The italics markup simply doesn't work in $locations.

2) the $foldable block isn't generated.


QuadTree.hs (14.2 kB) - added by Kron 19 months ago.

Change History

Changed 19 months ago by Kron

Changed 19 months ago by Fūzetsu

  • status changed from new to closed
  • resolution set to invalid

See, #126 for 1), wontfix

For 2), you're asking Haddock to insert $foldables but only define $foldable (you have an extra ‘s’). Further, you (apparently) can't ask for empty sections. That is,

-- * foo
-- $stuff
-- ** bar
-- $stuff2

is not going to cut it. You actually need something between $stuff and ** bar. Perhaps this is a (documentation) bug on its own but not the reported one. Actually export something between the sections

-- * foo
-- $stuff
-- ** bar
-- $stuff2

I'll have to look into why it doesn't do what one would take a guess at but I think it's intentional.

Note: See TracTickets for help on using tickets.