|
RE: ghc.exe: panic! (the `impossible' happened, GHC version 6.4): msg#00123lang.haskell.glasgow.bugs
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> |
|---|---|---|
| Previous by Date: | RE: System/CPUTime.hs hsc2hs-inplace error, Simon Marlow |
|---|---|
| Next by Date: | [ ghc-Bugs-1189354 ] GHC dies silently with faulty preprocessor, SourceForge.net |
| Previous by Thread: | ghc.exe: panic! (the `impossible' happened, GHC version 6.4), Damyan Pepper |
| Next by Thread: | System/CPUTime.hs hsc2hs-inplace error, Armin Obersteiner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |