Opened 21 months ago

Closed 21 months ago

Last modified 21 months ago

#7126 closed bug (fixed)

Unexpected loop

Reported by: boris Owned by:
Priority: normal Milestone: 7.6.1
Component: Compiler Version: 7.4.1
Keywords: class, hang, loop Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Incorrect result at runtime Difficulty: Unknown
Test Case: T7126 Blocked By:
Blocking: Related Tickets:

Description

The attached program executes as expected if compiled with GHC 7.0.3, but crashes with <<loop>> for GHC 7.4.1. When the code was more polymorphic (before simplifying the case), it just hanged. I suspect that the loop is related to the class dictionaries creation/passing.

Expected:

"1"
"1"

Actual:

"1"
bug: <<loop>>

Attachments (1)

bug.hs (542 bytes) - added by boris 21 months ago.

Download all attachments as: .zip

Change History (3)

Changed 21 months ago by boris

comment:1 Changed 21 months ago by pcapriotti

  • Difficulty set to Unknown
  • Milestone set to 7.6.1
  • Resolution set to fixed
  • Status changed from new to closed

Thanks for the report. This looks fixed in HEAD.

comment:2 Changed 21 months ago by pcapriotti

  • Test Case set to T7126
Note: See TracTickets for help on using tickets.