[GHC] #14783: Initializing record with similarly named field from a different record results in warning rather than error

GHC ghc-devs at haskell.org
Fri Jun 8 09:33:24 UTC 2018


#14783: Initializing record with similarly named field from a different record
results in warning rather than error
-------------------------------------+-------------------------------------
        Reporter:  ulrikrasmussen    |                Owner:  (none)
            Type:  bug               |               Status:  closed
        Priority:  normal            |            Milestone:  8.2.3
       Component:  Compiler          |              Version:  8.0.1
      Resolution:  duplicate         |             Keywords:  records
                                     |  DuplicateRecordFields ORF
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  GHC accepts       |  Unknown/Multiple
  invalid program                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #13847            |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by adamgundry):

 * status:  new => closed
 * failure:  None/Unknown => GHC accepts invalid program
 * resolution:   => duplicate
 * related:   => #13847
 * milestone:   => 8.2.3


Comment:

 Thanks for the report! This bug exists in 8.0.x and 8.2.x but is fixed in
 the 8.4.x series.

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


More information about the ghc-tickets mailing list