[GHC] #708: Error: Data.Generics / Cast

GHC trac at galois.com
Thu Mar 2 04:23:38 EST 2006


#708: Error: Data.Generics / Cast
----------------------------------------------+-----------------------------
    Reporter:  r.j.rorije at student.utwente.nl  |        Owner:         
        Type:  bug                            |       Status:  new    
    Priority:  normal                         |    Milestone:         
   Component:  Compiler                       |      Version:  6.4.1  
    Severity:  normal                         |     Keywords:         
          Os:  Windows                        |   Difficulty:  Unknown
Architecture:  x86                            |  
----------------------------------------------+-----------------------------
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]

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/708>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list