[GHC] #14747: DisambiguateRecordFields fails for PatternSynonyms

GHC ghc-devs at haskell.org
Fri Jun 15 18:58:37 UTC 2018


#14747: DisambiguateRecordFields fails for PatternSynonyms
-------------------------------------+-------------------------------------
        Reporter:  adamgundry        |                Owner:  adamgundry
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:
       Component:  Compiler (Type    |              Version:  8.2.1
  checker)                           |             Keywords:
      Resolution:                    |  PatternSynonyms
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  GHC rejects       |            Test Case:
  valid program                      |  rename/should_compile/T14747
      Blocked By:                    |             Blocking:
 Related Tickets:  #11283, #15149    |  Differential Rev(s):  Phab:D4821
       Wiki Page:                    |
-------------------------------------+-------------------------------------

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

 In [changeset:"7100850eebb1c1aec0aaabca08915bac8b90e188/ghc"
 7100850e/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="7100850eebb1c1aec0aaabca08915bac8b90e188"
 Use data con name instead of parent in lookupRecFieldOcc

 Test Plan: new tests rename/should_compile/{T14747,T15149}

 Reviewers: simonpj, bgamari

 Reviewed By: bgamari

 Subscribers: rwbarton, thomie, carter

 GHC Trac Issues: #14747, #15149

 Differential Revision: https://phabricator.haskell.org/D4821
 }}}

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


More information about the ghc-tickets mailing list