[GHC] #11610: Remove IEThingAll constructor from IE datatype

GHC ghc-devs at haskell.org
Fri Feb 19 18:45:11 UTC 2016


#11610: Remove IEThingAll constructor from IE datatype
-------------------------------------+-------------------------------------
           Reporter:  mpickering     |             Owner:
               Type:  task           |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Compiler       |           Version:  7.10.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:
-------------------------------------+-------------------------------------
 It seems that now `IEThingWith` can include a wildcard that the
 `IEThingAll` constructor is a special case. I'm not sure how involved this
 would be but it seems worth doing.

 {{{
   | IEThingAll  (Located name)     -- ^ Class/Type plus all
 methods/constructors
         --
         -- - 'ApiAnnotation.AnnKeywordId's : 'ApiAnnotation.AnnOpen',
         --       'ApiAnnotation.AnnDotdot','ApiAnnotation.AnnClose',
         --                                 'ApiAnnotation.AnnType'

         -- For details on above see note [Api annotations] in
 ApiAnnotation
         -- See Note [Located RdrNames] in HsExpr

   | IEThingWith (Located name)
                 IEWildcard
                 [Located name]
                 [Located (FieldLbl name)]
                  -- ^ Class/Type plus some methods/constructors
                  -- and record fields; see Note [IEThingWith]
         -- - 'ApiAnnotation.AnnKeywordId's : 'ApiAnnotation.AnnOpen',
         --                                   'ApiAnnotation.AnnClose',
         --                                   'ApiAnnotation.AnnComma',
         --                                   'ApiAnnotation.AnnType'

         -- For details on above see note [Api annotations] in
 ApiAnnotation
 }}}

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


More information about the ghc-tickets mailing list