[GHC] #14487: Can't Hide Field When DuplicateRecordFields Is Enabled

GHC ghc-devs at haskell.org
Sun Jun 17 15:17:50 UTC 2018


#14487: Can't Hide Field When DuplicateRecordFields Is Enabled
-------------------------------------+-------------------------------------
        Reporter:  iansullivan88     |                Owner:  (none)
            Type:  bug               |               Status:  patch
        Priority:  lowest            |            Milestone:  8.6.1
       Component:  Compiler          |              Version:  8.0.2
      Resolution:                    |             Keywords:
                                     |  DuplicateRecordFields ORF
Operating System:  Linux             |         Architecture:  x86_64
                                     |  (amd64)
 Type of failure:  GHC rejects       |            Test Case:
  valid program                      |  rename/should_compile/T14487
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D4805
       Wiki Page:                    |
-------------------------------------+-------------------------------------

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

 In [changeset:"ccd8ce405db89142932daea3fdace8814b110798/ghc"
 ccd8ce40/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="ccd8ce405db89142932daea3fdace8814b110798"
 Handle DuplicateRecordFields correctly in filterImports (fixes #14487)

 filterImports needed a small adjustment to correctly handle record field
 definitions arising from modules with DuplicateRecordFields enabled.

 Previously hiding fields was not possible with DuplicateRecordFields
 enabled.

 Test Plan: new test rename/should_compile/T14487

 Reviewers: bgamari

 Subscribers: simonpj, rwbarton, thomie, carter

 GHC Trac Issues: #14487

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

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


More information about the ghc-tickets mailing list