|
[ ghc-Bugs-672813 ] bad type does bad things: msg#00054lang.haskell.glasgow.bugs
Bugs item #672813, was opened at 2003-01-22 23:41 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=672813&group_id=8032 Category: None Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Miguel Figueiredo (olliegator) Assigned to: Nobody/Anonymous (nobody) Summary: bad type does bad things Initial Comment: If I create a type like this: data Test a = T a deriving Show a I get: *Main> :l test.hs Compiling Main ( teste.hs, interpreted ) ghc-5.04.2: panic! (the `impossible' happened, GHC version 5.04.2): nameModule a{-r1qo-} Please report it as a compiler bug to glasgow-haskell-bugs@xxxxxxxxxxx, or http://sourceforge.net/projects/ghc/. ---------------------------------------------------------------------- >Comment By: Simon Peyton Jones (simonpj) Date: 2003-01-23 14:35 Message: Logged In: YES user_id=50165 The HEAD does not crash, and I've improved the error message a bit. (The program is illegal anyway, not that that matters.) Test added too (deriving/should_fail/drvfail005) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=672813&group_id=8032
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: newtype deriving panic, Simon Peyton-Jones |
|---|---|
| Next by Date: | evaluation fault in ghci., Malcolm Wallace |
| Previous by Thread: | [ ghc-Bugs-672813 ] bad type does bad things, SourceForge.net |
| Next by Thread: | foreign import label with polymorphic type, Ross Paterson |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |