Ticket #280 (new defect)

Opened 6 months ago

Last modified 6 months ago

Wrong behaviour for multi-line fields not placed at the very beginning

Reported by: Fūzetsu Owned by:
Priority: major Milestone:
Version: 2.14.0 Keywords:
Cc:

Description

Consider module header such as

{-|Copyright: Foo,
              Bar,
              Baz
-}
module F where

This does what we expect, we get the Copyright field with ‘Foo, Bar, Baz’.

If we then try to make this slightly less ugly and go with

{-|
Copyright: Foo,
           Bar,
           Baz
-}
module F where

the output is different: Copyright now has ‘Foo,’ and ‘Bar, Baz’ become the module description.

Change History

Changed 6 months ago by Fūzetsu

  • summary changed from Wrong behaviour for mult-line fields not placed at the very beginning to Wrong behaviour for multi-line fields not placed at the very beginning
Note: See TracTickets for help on using tickets.