Re: [GHC] #10520: RecordWildCards causes “is not a (visible) field of constructor” in ghci

GHC ghc-devs at haskell.org
Mon Jun 15 13:23:25 UTC 2015


#10520: RecordWildCards causes “is not a (visible) field of constructor” in ghci
-------------------------------------+-------------------------------------
        Reporter:  ion1              |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  GHCi              |                 Version:  7.10.1
      Resolution:                    |                Keywords:
Operating System:  Linux             |  RecordWildCards
 Type of failure:  GHC rejects       |            Architecture:  x86_64
  valid program                      |  (amd64)
      Blocked By:                    |               Test Case:
 Related Tickets:                    |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------

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

 In [changeset:"a3f6239d905ad4b8fb597f43bd4ef9947c83362f/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="a3f6239d905ad4b8fb597f43bd4ef9947c83362f"
 GHCi: fix scoping for record selectors

 This fixes Trac #10520.  See the "Ugh" note about
 record selectors in HscTypes.icExtendGblRdrEnv.
 }}}

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


More information about the ghc-tickets mailing list