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

GHC ghc-devs at haskell.org
Tue Jan 5 17:42:10 UTC 2016


#11343: Unable to infer type when using DuplicateRecordFields
-------------------------------------+-------------------------------------
        Reporter:  mpickering        |                Owner:  adamgundry
            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:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 The trouble is that it's hard to say precisely when inference should
 succeed.  How would you suggest writing the specification of what is and
 is not accepted?

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


More information about the ghc-tickets mailing list