#5684: ghc: panic! (the 'impossible' happened) (ghc 7.2.2) --------------------------------+------------------------------------------- Reporter: selinger | Owner: Type: bug | Status: new Priority: normal | Component: Compiler Version: 7.2.1 | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: Compile-time crash | Testcase: Blockedby: | Blocking: Related: | --------------------------------+------------------------------------------- Changes (by dimitris):
* cc: dimitris@… (added) Comment: OK in HEAD it seems the panic has gone but the file has type errors. Is the following what you expected?: /home/dimitris/extra-investigations/Bug.hs:49:22: Couldn't match type `[]' with `(->) Int' When using functional dependencies to combine Myclass [a] [qa] [ca], arising from the dependency `a -> qa' in the instance declaration at /home/dimitris/extra- investigations/Bug.hs:16:10 Myclass [Bool] (Int -> Int) cb, arising from a use of `fun1' at /home/dimitris/extra-investigations/Bug.hs:49:22-25 In the expression: fun1 (fun8 5) (a, b, False) In a pattern binding: (a', b', m') = fun1 (fun8 5) (a, b, False) dimitris@cam-04-unx:/64playpen/dimitris/GHC-HEAD/ghc$ -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5684#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs