|
TH: cannot [| assert |]: msg#00072lang.haskell.glasgow.bugs
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 glasgow-haskell-bugs@xxxxxxxxxxx, 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
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | negative `bytes' in :set +s, Serge D. Mechveliani |
|---|---|
| Next by Date: | RE: data T = () crash, Simon Peyton-Jones |
| Previous by Thread: | negative `bytes' in :set +s, Serge D. Mechveliani |
| Next by Thread: | packages, :m command, Serge D. Mechveliani |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |