Ticket #291 (closed defect: invalid)

Opened 8 months ago

Last modified 8 months ago

Two parse errors?

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

Description

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.

Attachments

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

Change History

Changed 8 months ago by Kron

Changed 8 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
someFunction
-- ** 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.