Opened 15 years ago

Closed 15 years ago

Last modified 48 years ago

#91 closed bug (Fixed)

panic with linear implicit parameters

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



$ ghc -fglasgow-exts -c Unique.hs
ghc-5.04: panic! (the `impossible' happened, GHC
version 5.04):
        tcSplitTyConApp {%uniqueSupply{-rF4-} ::

Please report it as a compiler bug to,

Attachments (1)

Unique.2.hs (342 bytes) - added by ajk 15 years ago.

Download all attachments as: .zip

Change History (2)

Changed 15 years ago by ajk

Attachment: Unique.2.hs added

comment:1 Changed 15 years ago by simonpj

Status: assignedclosed
Logged In: YES 

Thanks for this report.  There's an obscure bug in lazy pattern 
matching for implcit parameters.  It'll be fixed in 5.04.2

Meanwhile, instead of
    US r = %uniq
    r = case %uniq of { US r -> r }

Note: See TracTickets for help on using tickets.