[GHC] #11343: Unable to infer type when using DuplicateRecordFields

GHC ghc-devs at haskell.org
Tue Aug 16 08:13:21 UTC 2016


#11343: Unable to infer type when using DuplicateRecordFields
-------------------------------------+-------------------------------------
        Reporter:  mpickering        |                Owner:
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler (Type    |              Version:  7.11
  checker)                           |
      Resolution:                    |             Keywords:  ORF
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  GHC rejects       |  Unknown/Multiple
  valid program                      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by adamgundry):

 * owner:  adamgundry =>


Comment:

 I'm inclined to think we should close this and recommend use of the
 forthcoming `OverloadedRecordFields` in cases like this. But if anyone
 wants to argue for a well-specified but more permissive
 `DuplicateRecordFields`, I'm not strongly opposed.

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


More information about the ghc-tickets mailing list