Ticket #384 (closed bug: Fixed)

Opened 8 years ago

Last modified 43 years ago

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: Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

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
glasgow-haskell-bugs@haskell.org,
or http://sourceforge.net/projects/ghc/.

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

Best regards

Attachments

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

Change History

Changed 8 years ago by asamoilov

Changed 8 years ago by asamoilov

Changed 8 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 8 years ago by asamoilov

Changed 8 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 8 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.