Opened 15 years ago

Closed 15 years ago

Last modified 48 years ago

#87 closed bug (Fixed)

GHC loops on attached module

Reported by: rjmh Owned by: nobody
Priority: normal Milestone:
Component: Compiler Version: 5.04.1
Keywords: Cc:
Operating System: Architecture:
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description

I attach a (rather old) parsing library. GHC 5.02.3 
compiles it fine, but GHC 5.04.1 runs out of stack. (And 
yes, I have tried making the stack bigger!)

Attachments (1)

Parselib3.2.hs (5.2 KB) - added by rjmh 15 years ago.

Download all attachments as: .zip

Change History (2)

Changed 15 years ago by rjmh

Attachment: Parselib3.2.hs added

comment:1 Changed 15 years ago by simonpj

Status: assignedclosed
Logged In: YES 
user_id=50165

Yes, this is a known bug in GHC 5.02.1, will be fixed in 
5.02.2.  

Workaround: use 'data' instead of 'newtype' for recursive 
newtypes.
Note: See TracTickets for help on using tickets.