[ ghc-Bugs-1231648 ] compiler panic when class name is used as a
type
SourceForge.net
noreply at sourceforge.net
Mon Jul 4 08:26:36 EDT 2005
Bugs item #1231648, was opened at 2005-07-02 23:24
Message generated for change (Comment added) made by simonmar
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1231648&group_id=8032
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Compiler
Group: 6.4
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: compiler panic when class name is used as a type
Initial Comment:
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 at sneakemail.com
----------------------------------------------------------------------
>Comment By: Simon Marlow (simonmar)
Date: 2005-07-04 12:26
Message:
Logged In: YES
user_id=48280
This has been fixed.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1231648&group_id=8032
More information about the Glasgow-haskell-bugs
mailing list