[GHC] #12097: DuplicateRecordFields appears not to work in GHCi

GHC ghc-devs at haskell.org
Sat May 21 16:03:28 UTC 2016


#12097: DuplicateRecordFields appears not to work in GHCi
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:
            Type:  bug               |               Status:  closed
        Priority:  normal            |            Milestone:  8.0.2
       Component:  Compiler (Type    |              Version:  8.0.1
  checker)                           |
      Resolution:  invalid           |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by bgamari):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 Never mind; in my haste I completed butchered the example. If one adds a
 `test` in the expressions being printed above typechecking fails in when
 compiled as a module as well.

 This is likely due to the typechecking limitations of
 `DuplicateRecordFields`, although I don't know for certain.

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


More information about the ghc-tickets mailing list