[GHC] #11258: Add Location to RdrName in FieldOcc

GHC ghc-devs at haskell.org
Sat Dec 19 14:18:30 UTC 2015


#11258: Add Location to RdrName in FieldOcc
-------------------------------------+-------------------------------------
           Reporter:  alanz          |             Owner:  alanz
               Type:  task           |            Status:  new
           Priority:  normal         |         Milestone:  8.0.1
          Component:  Compiler       |           Version:  7.11
           Keywords:                 |  Operating System:  Unknown/Multiple
  ApiAnnotations                     |
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:  #11019
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 Post #11019, there have been some new instances of RdrName that are not
 located, in particular


 {{{#!lhs
 data FieldOcc name = FieldOcc { rdrNameFieldOcc  :: RdrName
                               , selectorFieldOcc :: PostRn name name
                               }

 data AmbiguousFieldOcc name
   = Unambiguous RdrName (PostRn name name)
   | Ambiguous   RdrName (PostTc name name)
   deriving (Typeable)
 }}}

 Add locations to them

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


More information about the ghc-tickets mailing list