|
RE: TH bug: msg#00138lang.haskell.glasgow.bugs
Yes, pattern brackets are not supported yet. They are very tricky. (The manual doesn't mention them.) I'll improve the error message though! S | -----Original Message----- | From: glasgow-haskell-bugs-bounces@xxxxxxxxxxx [mailto:glasgow-haskell-bugs- | bounces@xxxxxxxxxxx] On Behalf Of Bulat Ziganshin | Sent: 20 January 2006 11:00 | To: glasgow-haskell-bugs@xxxxxxxxxxx | Cc: Simon Peyton-Jones | 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 | | | | _______________________________________________ | 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: | TH bug, Bulat Ziganshin |
|---|---|
| Next by Date: | [GHC] #664: Heap profiler can report hundredths of a second as "3.100" (not "4.000"), GHC |
| Previous by Thread: | TH bug, Bulat Ziganshin |
| Next by Thread: | [GHC] #664: Heap profiler can report hundredths of a second as "3.100" (not "4.000"), GHC |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |