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

GHC ghc-devs at haskell.org
Sun Jul 15 16:45:49 UTC 2018


#15386: TTG typo: XFieldOcc should be XCFieldOcc
-------------------------------------+-------------------------------------
           Reporter:  alanz          |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:  8.6.1
          Component:  Compiler       |           Version:  8.4.3
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 In the following

 {{{#!hs
 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`/

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


More information about the ghc-tickets mailing list