compiler panic when class name is used as a type
The compiler panics with a message "the `impossible'
happened" when compiling the following:
class Foo where
bar :: Foo
It seems to happen whenever the class name is used
as a type within its own `where' clause. This should
yield a more comprehensible error message.
I can be reached at vnkwjyc02@sneakemail.com
Trac metadata
Trac field |
Value |
Version |
6.4 |
Type |
Bug |
TypeOfFailure |
OtherFailure |
Priority |
normal |
Resolution |
ResolvedFixed |
Component |
Compiler |
Test case |
|
Differential revisions |
|
BlockedBy |
|
Related |
|
Blocking |
|
CC |
|
Operating system |
|
Architecture |
|