[Template-haskell] panic: addImpDecls

Ian Lynagh igloo at earth.li
Sun Nov 21 18:59:23 EST 2004


Hi all,

If I have

    module Q () where
    
    $( [d|
             $( [d| foo = 'c' |] )
         |]
     )

or even

    module Q () where
    
    $( [d|
             $( [] )
         |]
     )

then "ghc -fth --make Q.hs" gives me:

ghc-6.3: panic! (the `impossible' happened, GHC version 6.3):
        addImpDecls


Thanks
Ian



More information about the template-haskell mailing list