[GHC] #11662: Regression using NamedFieldPuns with qualified field names

GHC ghc-devs at haskell.org
Tue Mar 1 11:48:30 UTC 2016


#11662: Regression using NamedFieldPuns with qualified field names
-------------------------------------+-------------------------------------
        Reporter:  hesselink         |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.1-rc2
      Resolution:                    |             Keywords:
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 hesselink):

 One more addition: I'm pretty sure now that this is supposed to work (and
 wasn't an accidental feature), since the documentation states

 {{{
 A pun on a qualified field name is expanded by stripping off the module
 qualifier.
 }}}

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


More information about the ghc-tickets mailing list