Ticket #1252 (closed bug: fixed)

Opened 6 years ago

Last modified 4 years ago

[haskell-src] Function not pretty-printed correctly in inline mode

Reported by: greenrd Owned by: greenrd
Priority: normal Milestone:
Component: libraries (other) Version: 6.6
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Difficulty: Easy (less than 1 hour)
Test Case: Blocked By:
Blocking: Related Tickets:

Description

In the attached testcase (type make to run it), the generated Output.hs is missing a semicolon.

Attachments

parseUnparse.tar.gz Download (0.5 KB) - added by greenrd 6 years ago.
test case

Change History

Changed 6 years ago by greenrd

test case

Changed 6 years ago by ross

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

fixed in the HEAD

Changed 6 years ago by greenrd

  • status changed from closed to reopened
  • resolution fixed deleted

The checked-in fix doesn't work:

ghc-6.6 --make -o test Output.hs
[1 of 1] Compiling Main             ( Output.hs, Output.o )

Output.hs:2:15: parse error on input `{'

Changed 6 years ago by greenrd

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

Fixed on head. Thanks Ross!

Changed 5 years ago by simonmar

  • architecture changed from Multiple to Unknown/Multiple

Changed 5 years ago by simonmar

  • os changed from Multiple to Unknown/Multiple

Changed 4 years ago by simonmar

  • difficulty changed from Easy (1 hr) to Easy (less than 1 hour)
Note: See TracTickets for help on using tickets.