logo       

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

lang.haskell.glasgow.bugs

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

Thanks for the report. You're using a class as a type (in the data type
decl for ScreenStack) and this triggers a bug in 6.4. It been fixed,
and the fix will be in 6.4.1.

Simon

| -----Original Message-----
| From: glasgow-haskell-bugs-bounces@xxxxxxxxxxx
[mailto:glasgow-haskell-bugs-
| bounces@xxxxxxxxxxx] On Behalf Of Damyan Pepper
| Sent: 24 April 2005 10:29
| To: glasgow-haskell-bugs@xxxxxxxxxxx
| Subject: ghc.exe: panic! (the `impossible' happened, GHC version 6.4)
|
| The compiler has asked me to send a bug report...so here it is. This
| is with the Windows distribution of GHC 6.4.
|
| Compiling the following code:
|
| import Graphics.UI.ObjectIO hiding (Menu)
|
| class CScreen a where
| updateScreen :: a -> a
| drawScreen :: a -> Draw ()
|
| data ScreenStack e l = EmptyScreenStack | ScreenStack (CScreen e) l
|
|
| Produces the following message:
|
| ghc -package objectio t.hs
| ghc.exe: panic! (the `impossible' happened, GHC version 6.4):
| ds_app_type Main.CScreen{tc r1TC} [e{tv a1V4}]
|
| Please report it as a compiler bug to
glasgow-haskell-bugs@xxxxxxxxxxx,
| or http://sourceforge.net/projects/ghc/.
|
|
| I expect the code isn't correct, but I guess the compiler should give
| a sensible error messge.
|
| Thanks,
| Damyan.
| _______________________________________________
| Glasgow-haskell-bugs mailing list
| Glasgow-haskell-bugs@xxxxxxxxxxx
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise