[GHC] #15386: TTG typo: XFieldOcc should be XCFieldOcc

GHC ghc-devs at haskell.org
Sun Jul 15 17:38:00 UTC 2018


#15386: TTG typo: XFieldOcc should be XCFieldOcc
-------------------------------------+-------------------------------------
        Reporter:  alanz             |                Owner:  alanz
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.6.1
       Component:  Compiler          |              Version:  8.4.3
      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 Alan Zimmerman <alan.zimm@…>):

 In [changeset:"926954196f9ffd7b89cba53061b39ef996e1650c/ghc" 9269541/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="926954196f9ffd7b89cba53061b39ef996e1650c"
 TTG typo: XFieldOcc should be XCFieldOcc

 In the following

   data FieldOcc pass = FieldOcc { extFieldOcc     :: XFieldOcc pass
                                 , rdrNameFieldOcc :: Located RdrName
                                    -- ^ See Note [Located RdrNames] in
 HsExpr
                                 }

     | XFieldOcc
         (XXFieldOcc pass)

 we are using XFieldOcc for both the extFieldOcc type and the extra
 constructor.

 The first one should be XCFieldOcc

 Updates haddock submodule
 closes #15386
 }}}

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


More information about the ghc-tickets mailing list