Skip to content

Compiler error

Hi,

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

Trac metadata
Trac field Value
Version 6.4.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system Windows
Architecture x86
Edited by r.j.rorije@student.utwente.nl
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information