[GHC] #14083: ?

GHC ghc-devs at haskell.org
Thu Aug 3 07:22:31 UTC 2017


#14083: ?
-------------------------------------+-------------------------------------
        Reporter:  zaoqi             |                Owner:  (none)
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by AntC):

 ?

 repeat of #14004 (or at least same code)

 To repeat Ryan's ticket:14004#comment:3 from there
 >> Your description still isn't very clear. What exactly is the bug here?

 Try:
 {{{
 instance {-# OVERLAPPING #-} (Eq a) => GEq a a where
      geq = (==)

 instance {-# OVERLAPPABLE #-} GEq a b where
      geq _ _ = False
 }}}

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


More information about the ghc-tickets mailing list