TH bug
Bulat Ziganshin
bulatz at HotPOP.com
Fri Jan 20 05:59:40 EST 2006
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 at haskell.org,
or http://sourceforge.net/projects/ghc/.
--
Best regards,
Bulat mailto:bulatz at HotPOP.com
More information about the Glasgow-haskell-bugs
mailing list