[Bug #127119] 4.11 dies for certain RULES
Simon Peyton-Jones
simonpj@microsoft.com
Wed, 3 Jan 2001 04:01:23 -0800
Fixed in the HEAD.
Simon
| -----Original Message-----
| From: noreply@sourceforge.net [mailto:noreply@sourceforge.net]
| Sent: 30 December 2000 07:34
| To: chak@cse.unsw.edu.au; noreply@sourceforge.net; cvs-ghc@haskell.org
| Subject: [Bug #127119] 4.11 dies for certain RULES
|
|
| Bug #127119, was updated on 2000-Dec-29 23:34
| Here is a current snapshot of the bug.
|
| Project: The Glasgow Haskell Compiler
| Category: Compiler (Type checker)
| Status: Open
| Resolution: None
| Bug Group: None
| Priority: 5
| Submitted by: chak
| Assigned to : nobody
| Summary: 4.11 dies for certain RULES
|
| Details: Given
|
| <code>
| module Bug where
|
| foo 1 = 2
| bar 0 = 1
|
| {-# RULES
|
| "foo/bar" foo bar = foobar
|
| #-}
|
| foobar = 2
| </code>
|
| 4.11 (couple of weeks old) dies with
|
| ghc-4.11: panic! (the `impossible' happened):
| basicTypes/Var.lhs:185: Non-exhaustive patterns in function
| readMutTyVar
|
| 4.08.1 doesn't seem to have a problem with this code.
|
|
| For detailed info, follow this link:
| http://sourceforge.net/bugs/?func=detailbug&bug_id=127119&grou
p_id=8032
_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc