[GHC] #14004: G

GHC ghc-devs at haskell.org
Fri Jul 21 23:15:53 UTC 2017


#14004: G
-------------------------------------+-------------------------------------
        Reporter:  zaoqi             |                Owner:  (none)
            Type:  feature request   |               Status:  infoneeded
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.10.3
      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):

 The error I see is that the `{-# OVERLAPPING #-}` pragma is on the wrong
 instance. The `GEq a a` instance should have `{-# OVERLAPPABLE #-}`; the
 `GEq a b` should have `{-# OVERLAPPING #-}`.

 The instance for `Dyn` doesn't mention `GEq`.

 I agree with Ben, Ryan: I see no bug.

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


More information about the ghc-tickets mailing list