logo       

TH bug: msg#00137

lang.haskell.glasgow.bugs

Subject: TH bug

Hello ,

attempt to compile this module:

{-# OPTIONS_GHC -fglasgow-exts -fth #-}
import Language.Haskell.TH
f = match [p|0|] [|return ()|] []


produce the following error:

ghc.EXE: panic! (the `impossible' happened, GHC version 6.4.1):
typecheck/TcSplice.lhs:(128,0)-(150,44): Non-exhaustive patterns in
function tc_bracket


Please report it as a compiler bug to glasgow-haskell-bugs@xxxxxxxxxxx,
or http://sourceforge.net/projects/ghc/.




--
Best regards,
Bulat mailto:bulatz@xxxxxxxxxx


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise