Ticket #133 (closed defect: worksforme)

Opened 7 years ago

Last modified 5 years ago

Long comments at the top of a module

Reported by: McManiaC Owned by:
Priority: major Milestone:
Version: Keywords:
Cc: johan.tibell@…


Long comments at the top of a module (before the module ... where ... part) will cause Haddock to fail with the error:

    File name does not match module name:
    Saw: `Main'
    Expected: `System.Event.PSQ'


If you put the comment between the module and the imports you'll get another error:

    parse error on input `import'

Tested with the latest darcs build.

Change History

Changed 7 years ago by tibbe

  • cc johan.tibell@… added

Changed 7 years ago by waern

  • milestone 2.7.0 deleted

Changed 6 years ago by waern

I can't reproduce this. Could it have been fixed with recent GHC versions?

Changed 5 years ago by SimonHengel

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

I also can't reproduce this. If it still persists, please re-open the issue, and attach a minimal test case.

Note: See TracTickets for help on using tickets.