[GHC] #844: panic on conflicting patterns in TH splice
GHC
trac at galois.com
Fri Aug 4 08:48:04 EDT 2006
#844: panic on conflicting patterns in TH splice
-------------------------------+--------------------------------------------
Reporter: guest | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Template Haskell | Version: 6.4.2
Severity: minor | Resolution:
Keywords: | Os: Unknown
Difficulty: Unknown | Architecture: Unknown
-------------------------------+--------------------------------------------
Comment (by guest):
{{{
foo = sequence
[
funD (mkName "f")
[
clause
[varP $ mkName "c",varP $ mkName "c"]
(normalB $ [| undefined |])
[]
]
]
}}}, the compiler panics:
ghc-6.4.2: panic! (the `impossible' happened, GHC version 6.4.2):
SrcLoc.srcSpanStartLine
. It would be nice if ghc gave an error message just like the non-TH case.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/844>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list