Ticket #12 (new defect)

Opened 6 years ago

Last modified 6 years ago

Haddock comments needs to be separated by semi-colons when explicit layout is used

Reported by: anonymous Owned by:
Priority: minor Milestone:
Version: 2.1.0 Keywords:
Cc:

Description

Haddock comments are parsed as separate declarations so we need to insert a ';' when using them with explicit layout:

module NoLayout where {
  -- | the class 'C'
  ;
  g :: Int;
  g = undefined
 }

This should be fixed in the GHC parser, hence the 2.3.0 milestone.

Change History

Changed 6 years ago by anonymous

  • version set to 2.1.0

Changed 6 years ago by anonymous

  • priority changed from major to minor

Changed 6 years ago by waern

  • milestone 2.3.0 deleted
Note: See TracTickets for help on using tickets.