Ticket #192 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

Condensed type signatures do not play well with headings in the export list

Reported by: SimonHengel Owned by:
Priority: major Milestone:
Version: 2.9.4 Keywords:
Cc:

Description

Say we have a module

    module SomeModule (
    -- * Section 1
      foo
    -- * Section 2
    , bar
    -- * Section 3
    , baz
    ) where

    foo, bar, baz :: Int
    foo = 23
    bar = 23
    baz = 23

the we get a condensed type signature (foo, bar, baz :: Int) in "Section 1", "Section 2" and "Section 3" are left empty.

This regression was introduced with 2.9.3 (commit ab24835eadb99059934d7a14f86564eea6449257). In 2.9.2 and before each identifier ended up in it's own section.

Change History

Changed 3 years ago by SimonHengel

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

Changed 2 years ago by anonymous

  • milestone 2.10.0 deleted

Milestone 2.10.0 deleted

Note: See TracTickets for help on using tickets.