This is fairly low priority:

Language.Haskell.THSyntax> e <- runQ [| Control.Exception.assert |]

ghc-6.3: panic! (the `impossible' happened, GHC version 6.3):
        DsMeta.repLiteral: trying to represent exotic literal
    "GenexTest.hs:319:40-45"#
 
Please report it as a compiler bug to [EMAIL PROTECTED],
or http://sourceforge.net/projects/ghc/.

'assert' is replaced by a primop that cannot be represented in TH.

It would probably be ok to just leave it as a name, since it'll be
converted to a primop when it is spliced in. On the other hand, the
whole point of assert is to know where in the source the assert
happened, knowing it happened in the generated code is not so useful.

As I said, low priority.

Duncan

_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to