Panic in GHC 6.4

Simon Marlow simonmar at microsoft.com
Wed Apr 20 05:37:55 EDT 2005


Thanks, this is a known bug and will be fixed in 6.4.1.
 
Cheers,
    Simon

________________________________

From: glasgow-haskell-bugs-bounces at haskell.org
[mailto:glasgow-haskell-bugs-bounces at haskell.org] On Behalf Of John
DeTreville
Sent: 19 April 2005 22:31
To: glasgow-haskell-bugs at haskell.org
Subject: Panic in GHC 6.4



I'm running GHC 6.4 on Windows XP Professional. In GHCi, I try to load
the following source file (also attached as Bad.hs)

 

module Paper where

 

data Hash = Sha256 String

 

class HasHash

  where hasHash :: HasHash -> Hash

 

and I get the following panic.

 

   ___         ___ _

  / _ \ /\  /\/ __(_)

 / /_\// /_/ / /  | |      GHC Interactive, version 6.4, for Haskell 98.

/ /_\\/ __  / /___| |      http://www.haskell.org/ghc/

\____/\/ /_/\____/|_|      Type :? for help.

 

Loading package base-1.0 ... linking ... done.

Prelude> :cd Policy

Prelude> :load Bad

Compiling Paper            ( Bad.hs, interpreted )

ghc.exe: panic! (the `impossible' happened, GHC version 6.4):

        ds_app_type Paper.HasHash{tc r2vG} []

 

Please report it as a compiler bug to glasgow-haskell-bugs at haskell.org,

or http://sourceforge.net/projects/ghc/.

 

 

> 

 

My typo is obvious, of course, but I thought I'd report the panic as
requested.

 

Cheers,

John

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/glasgow-haskell-bugs/attachments/20050420/38d05c31/attachment.htm


More information about the Glasgow-haskell-bugs mailing list