[GHC] #13324: Allow PartialTypeSignatures in the instance context of a standalone deriving declaration

GHC ghc-devs at haskell.org
Mon Mar 5 14:45:36 UTC 2018


#13324: Allow PartialTypeSignatures in the instance context of a standalone
deriving declaration
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:  (none)
            Type:  feature request   |               Status:  patch
        Priority:  normal            |            Milestone:
       Component:  Compiler (Type    |              Version:  8.0.1
  checker)                           |
      Resolution:                    |             Keywords:  deriving
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #10607            |  Differential Rev(s):  Phab:D4383
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Simon Peyton Jones <simonpj@…>):

 In [changeset:"1c062b794bf71a329f65813ce7b72fe2bd3935f0/ghc"
 1c062b79/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="1c062b794bf71a329f65813ce7b72fe2bd3935f0"
 Simplify rnLHsInstType

 This patch is preparatory for the main fix for Trac #13324

 Here, we simplify rnLHsInstType so that it does not try
 to figure out the class name.  This turns out to have a good
 (rather than bad) effect on error messages, and it prepares
 the way for the main event.

 Plus, less code!
 }}}

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


More information about the ghc-tickets mailing list