Opened 10 years ago

Closed 10 years ago

Last modified 46 years ago

#384 closed bug (Fixed)

internal compiler error: the `impossible' happened

Reported by: asamoilov Owned by: nobody
Priority: normal Milestone:
Component: Compiler (Type checker) Version: 6.4
Keywords: Cc:
Operating System: Architecture:
Type of failure: Test Case:
Blocked By: Blocking:
Related Tickets: Differential Revisions:

Description

Dear Haskellers,

I've got the following error message during
compilation of the attached Signal.hs file with ghc 6.4
and 6.5.

ghc -c Signal.hs
ghc-6.4: panic! (the `impossible' happened, GHC version
6.4):
        types/Type.lhs:(1107,0)-(1108,77):
Non-exhaustive patterns in function zip_ty_env
 
 
Please report it as a compiler bug to
[email protected],
or http://sourceforge.net/projects/ghc/.

I spent some time stripping the file to only several
lines :)

Best regards

Attachments (3)

Signal.2.hi (12.0 KB) - added by asamoilov 10 years ago.
Signal.4.hs (322 bytes) - added by asamoilov 10 years ago.
Signal.3.hs (322 bytes) - added by asamoilov 10 years ago.

Download all attachments as: .zip

Change History (6)

Changed 10 years ago by asamoilov

Changed 10 years ago by asamoilov

comment:1 Changed 10 years ago by asamoilov

Logged In: YES 
user_id=1278724

Sorry, I attached Signal.hi instead Signal.hs
Reattaching the right file and deleting wrong.

All the best.

Changed 10 years ago by asamoilov

comment:2 Changed 10 years ago by asamoilov

Logged In: YES 
user_id=1278724

Sorry, I attached Signal.hi instead Signal.hs
Reattaching the right file and deleting wrong.

All the best.

comment:3 Changed 10 years ago by simonpj

  • Status changed from assigned to closed
Logged In: YES 
user_id=50165

Excellent bug report, thank you.   Turns out that this was a 
clerical error in a minor function, which has been in GHC for 
ages.  Fixed now, though; tc183 tests for it.

Simon
Note: See TracTickets for help on using tickets.