Opened 7 years ago

Closed 7 years ago

Last modified 5 years ago

#1252 closed bug (fixed)

[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 (1)

parseUnparse.tar.gz (551 bytes) - added by greenrd 7 years ago.
test case

Download all attachments as: .zip

Change History (7)

Changed 7 years ago by greenrd

test case

comment:1 Changed 7 years ago by ross

  • Resolution set to fixed
  • Status changed from new to closed

fixed in the HEAD

comment:2 Changed 7 years ago by greenrd

  • Resolution fixed deleted
  • Status changed from closed to reopened

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 `{'

comment:3 Changed 7 years ago by greenrd

  • Resolution set to fixed
  • Status changed from reopened to closed

Fixed on head. Thanks Ross!

comment:4 Changed 6 years ago by simonmar

  • Architecture changed from Multiple to Unknown/Multiple

comment:5 Changed 6 years ago by simonmar

  • Operating System changed from Multiple to Unknown/Multiple

comment:6 Changed 5 years ago by simonmar

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