|
RE: TH quasi-quoting bug - fails on quoting where clause in let declcontext: msg#00001lang.haskell.glasgow.bugs
How true. Thanks for reporting this. It's fixed in the HEAD. Could merge to STABLE branch if we do another 6.2 release (but I doubt we will) sorry about the delay on this one Simon | -----Original Message----- | From: glasgow-haskell-bugs-bounces@xxxxxxxxxxx [mailto:glasgow-haskell-bugs- | bounces@xxxxxxxxxxx] On Behalf Of Duncan Coutts | Sent: 07 March 2004 23:47 | To: glasgow-haskell-bugs@xxxxxxxxxxx | Subject: TH quasi-quoting bug - fails on quoting where clause in let declcontext | | | In ghc 6.2 and 6.3 (CVS as of early March) evaluating the following in | ghci gives an "impossible happened" error. | | do {d <- runQ $ [| let foo = bar where bar = 3 in foo |]; print d} | | The bit that causes the problem is the where in the declaration context | introduced by the let. | | ghci-6.2 says: | | ghc-6.2: panic! (the `impossible' happened, GHC version 6.2): | nameModule bar_d1yu | | and ghci-6.3 says something similar | | ghc-6.3: panic! (the `impossible' happened, GHC version 6.3): | nameModule bar{v} {- v aFI -} | | Duncan | | _______________________________________________ | Glasgow-haskell-bugs mailing list | Glasgow-haskell-bugs@xxxxxxxxxxx | http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: TH naming problem, different 'newName's clash, Simon Peyton-Jones |
|---|---|
| Next by Date: | ghc-6.2.1 incorrectly reporting duplicate instance declarations, George Russell |
| Previous by Thread: | RE: TH naming problem, different 'newName's clash, Simon Peyton-Jones |
| Next by Thread: | ghc-6.2.1 incorrectly reporting duplicate instance declarations, George Russell |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |