|
[ ghc-Bugs-1236718 ] TcSimplify.lhs:(2093, 13)-(2094, 38): Non-exhaustive p: msg#00086lang.haskell.glasgow.bugs
Bugs item #1236718, was opened at 2005-07-12 06:48 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1236718&group_id=8032 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Compiler (Type checker) Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: TcSimplify.lhs:(2093,13)-(2094,38): Non-exhaustive patterns Initial Comment: Dear ghc developers, instead of giving some kind of 'unresolved overloading' error message, the following code % cat Bug.hs {-# OPTIONS_GHC -fglasgow-exts #-} module Bug where class Foo a instance Foo (a -> b) foo :: Foo a => a -> () foo = undefined class Bar a r -- The same happens if we use fundeps: -- class Bar a r | r -> a bar :: Bar a r => r -> () bar = undefined test = foo bar causes ghc to panic: % ghc Bug.hs ghc-6.5.20050709: panic! (the `impossible' happened, GHC version 6.5.20050709): typecheck/TcSimplify.lhs:(2093,13)-(2094,38): Non-exhaustive patterns in case Best regards, Thomas Jäger ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1236718&group_id=8032
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [ ghc-Bugs-1235728 ] unsafeInterleaveIO + Ctrl-C/killThread related segfault, SourceForge.net |
|---|---|
| Next by Date: | [ ghc-Bugs-1236718 ] TcSimplify.lhs:(2093, 13)-(2094, 38): Non-exhaustive patterns, SourceForge.net |
| Previous by Thread: | making 6.4.1-pre-July-12 by itself, Serge D. Mechveliani |
| Next by Thread: | [ ghc-Bugs-1236718 ] TcSimplify.lhs:(2093, 13)-(2094, 38): Non-exhaustive patterns, SourceForge.net |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |