logo       

RE: ghc-5.04.2: panic! (the `impossible' happened, GHC version 5.04.2):: msg#00057

lang.haskell.glasgow.bugs

Subject: RE: ghc-5.04.2: panic! (the `impossible' happened, GHC version 5.04.2):

Excellent bug thank you. Now fixed.

Simon

| -----Original Message-----
| From: Johannes Waldmann [mailto:joe@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]
| Sent: 18 February 2003 11:24
| To: glasgow-haskell-bugs@xxxxxxxxxxx
| Subject: ghc-5.04.2: panic! (the `impossible' happened, GHC version
5.04.2):
|
| 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
--
|
| _______________________________________________
| 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