[GHC] #9791: Ghc panics on tiny example, naive try to overload compose

GHC ghc-devs at haskell.org
Tue Nov 11 02:42:31 UTC 2014


#9791: Ghc panics on tiny example, naive try to overload compose
-------------------------------------+-------------------------------------
              Reporter:  camarao     |            Owner:
                  Type:  bug         |           Status:  closed
              Priority:  normal      |        Milestone:
             Component:  Compiler    |          Version:  7.4.1
            Resolution:  duplicate   |         Keywords:  Overloading
      Operating System:  Linux       |     Architecture:  x86
       Type of failure:  Compile-    |       Difficulty:  Easy (less than 1
  time crash                         |  hour)
             Test Case:              |       Blocked By:
              Blocking:              |  Related Tickets:  #5951
Differential Revisions:              |
-------------------------------------+-------------------------------------
Changes (by thomie):

 * status:  new => closed
 * resolution:   => duplicate
 * related:   => #5951


Comment:

 Thank you for the report. This has been fixed, try upgrading to GHC 7.6 or
 7.8.

 {{{
 $ ghc-7.6.3 test.hs
 [1 of 1] Compiling Main             ( test.hs, test.o )

 test.hs:9:10:
     Malformed instance: Monad m -> Compose a b c (m b) (m c)
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9791#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list