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

GHC ghc-devs at haskell.org
Sun Aug 2 16:11:27 UTC 2015


#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


More information about the ghc-tickets mailing list