Opened 9 years ago

Closed 9 years ago

Last modified 44 years ago

#410 closed bug (Fixed)

compiler panic when class name is used as a type

Reported by: nobody Owned by: nobody
Priority: normal Milestone:
Component: Compiler Version: 6.4
Keywords: Cc:
Operating System: Architecture:
Type of failure: Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

Description

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  

Change History (1)

comment:1 Changed 9 years ago by simonmar

  • Status changed from assigned to closed
Logged In: YES 
user_id=48280

This has been fixed.
Note: See TracTickets for help on using tickets.