[GHC] #9156: Duplicate record field

GHC ghc-devs at haskell.org
Thu Jul 24 12:46:56 UTC 2014


#9156: Duplicate record field
-------------------------------------+-------------------------------------
              Reporter:  wojteknar   |            Owner:  gintas
                  Type:  bug         |           Status:  patch
              Priority:  low         |        Milestone:
             Component:  Compiler    |          Version:  7.8.2
            Resolution:              |         Keywords:
      Operating System:              |     Architecture:  Unknown/Multiple
  Unknown/Multiple                   |       Difficulty:  Unknown
       Type of failure:  GHC         |       Blocked By:
  accepts invalid program            |  Related Tickets:
             Test Case:  T9156       |
              Blocking:              |
Differential Revisions:  Phab:D87    |
-------------------------------------+-------------------------------------

Comment (by Joachim Breitner <mail@…>):

 In [changeset:"d2942184c8cc53cb3b50f78a7ecff930c3e5861f/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="d2942184c8cc53cb3b50f78a7ecff930c3e5861f"
 Fixed issue with detection of duplicate record fields

 Duplicate record fields would not be detected when given a type
 with multiple data constructors, and the first data constructor
 had a record field r1 and any consecutive data constructors
 had multiple fields named r1.

 This fixes #9156 and was reviewed in https://phabricator.haskell.org/D87
 }}}

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


More information about the ghc-tickets mailing list