[GHC] #15814: Orphan Instance Overlap Error Message

GHC ghc-devs at haskell.org
Sun Nov 25 15:12:49 UTC 2018


#15814: Orphan Instance Overlap Error Message
-------------------------------------+-------------------------------------
        Reporter:  parsonsmatt       |                Owner:  (none)
            Type:  feature request   |               Status:  patch
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.4.3
      Resolution:                    |             Keywords:  newcomer
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  D5377
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by dminuoso):

 * status:  new => patch
 * differential:   => D5377


Comment:

 I put up a differential to include the requested feature.

 The current limitation is that import provenance can only be displayed if
 either the instances were defined in orphan modules or in the same module
 you imported it from. That should be sufficient for most cases though.

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


More information about the ghc-tickets mailing list