Opened 6 years ago

Last modified 7 months ago

#3384 new task

Add HsSyn prettyprinter tests

Reported by: igloo Owned by: kseo
Priority: normal Milestone:
Component: Test Suite Version:
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Revisions:

Description

Add HsSyn prettyprinter tests. See #1966 for some discussion.

Change History (3)

comment:1 Changed 17 months ago by kseo

  • Type of failure set to None/Unknown

I'd like to work on this task as my first patch to GHC. I think the idea suggested by dfranke in #1966 is a good starting point.

Take some large Haskell projects and:

  1. Parse them
  2. Pretty-print them
  3. Reparse the output
  4. Pretty-print again

and verify that step 3 succeeds and the outputs of steps 2 and 4 match.

comment:2 Changed 17 months ago by kseo

  • Owner set to kseo

comment:3 Changed 7 months ago by thomie

  • Version 6.10.4 deleted

kseo: did you manage to get something going? Please ask questions on irc if you have any, maybe somebody can help you out.

Note: See TracTickets for help on using tickets.