[GHC] #9436: Confusing error message with RecordWildCards

GHC ghc-devs at haskell.org
Mon Aug 25 14:18:26 UTC 2014


#9436: Confusing error message with RecordWildCards
-------------------------------------+-------------------------------------
              Reporter:  elliottt    |            Owner:
                  Type:  bug         |           Status:  new
              Priority:  normal      |        Milestone:
             Component:  Compiler    |          Version:  7.8.3
            Resolution:              |         Keywords:
      Operating System:              |     Architecture:  Unknown/Multiple
  Unknown/Multiple                   |       Difficulty:  Unknown
       Type of failure:              |       Blocked By:
  None/Unknown                       |  Related Tickets:
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by Simon Peyton Jones <simonpj@…>):

 In [changeset:"06600e74444d22caff1fa8c7eef0e4e2debd60b9/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="06600e74444d22caff1fa8c7eef0e4e2debd60b9"
 Two buglets in record wild-cards (Trac #9436 and #9437)

 of named fields, whereas the code in RnPat.rnHsRecFields is
 much better set up to do so.

 Both easily fixed.
 }}}

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


More information about the ghc-tickets mailing list