Template Haskell panic

Simon Peyton-Jones simonpj at microsoft.com
Mon Dec 15 03:36:16 EST 2003


Yes, this is a well-known bug.  Already fixed in the HEAD... but the fix
won't be in 6.0.2.
You can grab a development snapshot, or build from source, or wait for
6.2.  There's really no good workaround.

Simon

| -----Original Message-----
| From: George Russell [mailto:ger at informatik.uni-bremen.de]
| Sent: 10 December 2003 17:07
| To: glasgow-haskell-bugs at haskell.org
| Cc: Simon Peyton-Jones
| Subject: Template Haskell panic
| 
| The attached file causes a panic when compiled with ghc6.0 on Linux.
| 
| # ghc -fglasgow-exts TH.hs -c
| ghc-6.0.1: panic! (the `impossible' happened, GHC version 6.0.1):
| 	nameModule newLen0 {- v a35 -}
| 
| Please report it as a compiler bug to
glasgow-haskell-bugs at haskell.org,
| or http://sourceforge.net/projects/ghc/.


More information about the Glasgow-haskell-bugs mailing list