[GHC] #864: -fgenerics bug

GHC trac at galois.com
Mon Aug 14 12:02:41 EDT 2006


#864: -fgenerics bug
-------------------------+--------------------------------------------------
    Reporter:  guest     |        Owner:         
        Type:  bug       |       Status:  new    
    Priority:  normal    |    Milestone:         
   Component:  Compiler  |      Version:  6.4.2  
    Severity:  normal    |     Keywords:         
          Os:  MacOS X   |   Difficulty:  Unknown
Architecture:  powerpc   |  
-------------------------+--------------------------------------------------
I've discovered a simple fgenerics program that GHC doesn't like.
 Compiler output is as follows:


  $ ghc --make gen-bug.hs
  Chasing modules from: gen-bug.hs
  Compiling Main             ( gen-bug.hs, gen-bug.o )
  ghc-6.4.2: panic! (the `impossible' happened, GHC version 6.4.2):
         TcClassDecl: Type Application!

  Please report this as a compiler bug.  See:
   http://www.haskell.org/ghc/reportabug

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


More information about the Glasgow-haskell-bugs mailing list