[GHC] #13307: Record pattern synonym fields have to be manually exported

GHC ghc-devs at haskell.org
Mon Feb 20 13:20:50 UTC 2017


#13307: Record pattern synonym fields have to be manually exported
-------------------------------------+-------------------------------------
        Reporter:  ocharles          |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.2
      Resolution:                    |             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:                    |
-------------------------------------+-------------------------------------

Comment (by rwbarton):

 Well if you had a plain old
 {{{
 newtype T = T { x :: Impl }
 }}}
 then this would be the correct, Report-specified behavior. So I think your
 example is slightly wrong somehow.

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


More information about the ghc-tickets mailing list