[GHC] #11343: Unable to infer type when using DuplicateRecordFields
GHC
ghc-devs at haskell.org
Tue Jan 5 17:00:45 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 mpickering):
I definitely think that a special case should be added then. It is
extremely unexpected to have to add a type signature for something like
`(A 10) { a = 5 }`!
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11343#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list