[GHC] #11987: Allow record wildcards with pattern synonyms which are defined in GHCi

GHC ghc-devs at haskell.org
Sun Oct 2 00:01:55 UTC 2016


#11987: Allow record wildcards with pattern synonyms which are defined in GHCi
-------------------------------------+-------------------------------------
        Reporter:  Iceland_jack      |                Owner:  mpickering
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.1
      Resolution:                    |             Keywords:
                                     |  PatternSynonyms
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D2544
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"2d6642bd1956edf8b842c07d78e83c500246998a/ghc" 2d6642b/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="2d6642bd1956edf8b842c07d78e83c500246998a"
 Fix interaction of record pattern synonyms and record wildcards

 We were missing an appropiate *ConLike lookup in the case when
 the pattern synonym was defined in a different module.

 Reviewers: austin, bgamari, simonpj

 Reviewed By: simonpj

 Subscribers: simonpj, thomie

 Differential Revision: https://phabricator.haskell.org/D2544

 GHC Trac Issues: #11987
 }}}

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


More information about the ghc-tickets mailing list