[clean-list] [ Bug ] duplicate ClassOrGenericName in ClassContext -> compiler crash

Arjen van Weelden A.vanWeelden at cs.ru.nl
Thu Aug 24 20:41:11 MEST 2006


TK wrote:
> 
>     I've tried this with the 2.1.1 compiler and it does not crash. It does
>     complain that a lot of things are undefined. It this the whole program
>     or could you post the rest of it?
> 
> 
>  They were merely meant to encourage checking out the problem stated in 
> the title...
> 
> "duplicate ClassOrGenericName in ClassContext -> compiler crash"
> 
> ...using the identifiers from ( Language Report -> Context-Free Syntax 
> Description ).
> 
> Just duplicate any ClassOrGenericName in any ClassContext in any 
> otherwise compiling program. You could just try replacing the definition 
> of ( StdLib -> class PlusMin ) with the one provided here and try to 
> compile.
> 
> 
>     What do you mean by "( both cases )"?
> 
> 
> These were meant as 2 separate examples like
> 
> //example 1
> class PlusMin a | + , + , - , zero a
> 
> //example 2
> instance == ( Assig tId tValue ) | == , == tId
> where
>     == a b = a .id == b .id
> 
> both producing the same error.
> 
> 
> 
> 
> Hope to talk to You soon, Arjen van Weelden!

Ah yes, I've observed the same problem before and reported it internally 
as a bug. I didn't look close enough at your e-mail, sorry.

	Arjen


More information about the clean-list mailing list