|
ghc-5.04.2: panic! (the `impossible' happened, GHC version 5.04.2):: msg#00056lang.haskell.glasgow.bugs
class Foo a where foo :: a -> () data Bar = Bar { bar :: () } instance Foo Bar where foo = bar test :: Bar test = undefined { foo = () } the last line should be rejected, since there is no `foo' in `Bar'. ghc-5.04.2: panic! (the `impossible' happened, GHC version 5.04.2): tcSplitTyConApp a{-rY6-} best regards, -- -- Johannes Waldmann ---- http://www.informatik.uni-leipzig.de/~joe/ -- -- joe@xxxxxxxxxxxxxxxxxxxxxxxxx -- phone/fax (+49) 341 9732 204/207 --
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: ghc crashes, Simon Peyton-Jones |
|---|---|
| Next by Date: | RE: ghc-5.04.2: panic! (the `impossible' happened, GHC version 5.04.2):, Simon Peyton-Jones |
| Previous by Thread: | RE: ghc crashes, Simon Peyton-Jones |
| Next by Thread: | RE: ghc-5.04.2: panic! (the `impossible' happened, GHC version 5.04.2):, Simon Peyton-Jones |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |