The error isn't raised when the usual byte code compiler is used but it happens when the .NET backend is used. The problem is that I am generating IL assembly code which after that is compiled with the ilasm tool. The tool complains about the duplicated declarations. With the byte code compiler you will end up with a little bit more byte code. Is it possible to remove the duplicated instances as well? Cheers, Krasimir 2006/1/17, Neil Mitchell <ndmitchell@gmail.com>:
It doesn't seem to break with it removed, and it shouldn't propagate through to the back end, so I'll check with Tom and if possible remove all these bad bits.
All removed, I also changed the -redefine flag so it doesn't ignore the error that the bounded class was raising.
Defining instance Show Char twice in one file should be an error, but it doesn't get raised. This is a bug outstanding.
Thanks
Neil