|Reported by:||Owned by:||simonpj|
|Type of failure:||None/Unknown||Test Case:|
|Related Tickets:||Differential Rev(s):|
I am using Data.Generics and type classes to be able to compare values on their most inner type. Doing this a compiler bug occurred. I have tried to find a minimum example that crashed. The example I found may be not as minimal as you would like, though. I can not track down the exact source of the error, but the error occurs only when using the function mycast. when both implementations of mycast are removed no error occurs.
I hope I made the problem clear enough, otherwise, feel free to contact me.
source of the bug-example: http://wwwhome.cs.utwente.nl/~rorijerj/Test.hs