[GHC] #10727: compiler/rename/RnSource.lhs:429:14-81: Irrefutable pattern failed

#10727: compiler/rename/RnSource.lhs:429:14-81: Irrefutable pattern failed -------------------------------------+------------------------------------- Reporter: doelie | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.4.1 Keywords: | Operating System: Linux Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Revisions: | -------------------------------------+------------------------------------- see bug.sh in: http://zwizwa.be/stuff/ghc_bug.tgz make: Entering directory `/home/tom/pub/darcs/meta/siso' ghc Test.hs [ 9 of 10] Compiling Code ( Code.hs, Code.o ) ghc: panic! (the 'impossible' happened) (GHC version 7.4.1 for x86_64-unknown-linux): compiler/rename/RnSource.lhs:429:14-81: Irrefutable pattern failed for pattern Data.Maybe.Just (inst_tyvars, _, SrcLoc.L _ cls, _) Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10727 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10727: compiler/rename/RnSource.lhs:429:14-81: Irrefutable pattern failed -------------------------------------+------------------------------------- Reporter: doelie | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 7.4.1 Resolution: invalid | Keywords: Operating System: Linux | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by thomie): * status: new => closed * resolution: => invalid Comment: Thank you for the report. I can reproduce this with 7.4.2, after installing `mtl-1.1.1.1`. Other versions of GHC (7.6 and higher, but also 7.2 and 7.0) report: {{{ Code.hs:203:10: Malformed instance: (MakeVar i, Flatten i) => CompRed (i -> Comp o) -> o }}} The code indeed looks wrong, so I'm closing this. Note that we no longer support 7.4. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10727#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC