[ ghc-Bugs-1231648 ] compiler panic when class name is used as a type

SourceForge.net noreply at sourceforge.net
Sat Jul 2 19:24:12 EDT 2005


Bugs item #1231648, was opened at 2005-07-02 16:24
Message generated for change (Tracker Item Submitted) made by Item Submitter
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: Open
Resolution: None
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  

----------------------------------------------------------------------

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