[GHC] #15335: Export `findImportUsage` from `rename/RnNames.hs` module

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[GHC] #15335: Export `findImportUsage` from `rename/RnNames.hs` module

GHC - devs mailing list
#15335: Export `findImportUsage` from `rename/RnNames.hs` module
-------------------------------------+-------------------------------------
           Reporter:  chshersh       |             Owner:  (none)
               Type:  feature        |            Status:  new
  request                            |
           Priority:  normal         |         Milestone:  8.6.1
          Component:  Compiler       |           Version:  8.4.3
           Keywords:                 |  Operating System:  Unknown/Multiple
  imports,refactoring,export         |
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 I'm writing source plugin for analyzing imports in Haskell source code. I
 don't want to duplicate code already written in GHC. So I would like to
 have `findImportUsage` function and `ImportDeclUsage` type aliases
 exported from `RnNames` module:

 *
 [https://github.com/ghc/ghc/blob/ccd8ce405db89142932daea3fdace8814b110798/compiler/rename/RnNames.hs#L1314-L1318
 GitHub: ghc/compilier/rename/RnNames]

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

_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets
Reply | Threaded
Open this post in threaded view
|

Re: [GHC] #15335: Export `findImportUsage` from `rename/RnNames.hs` module

GHC - devs mailing list
#15335: Export `findImportUsage` from `rename/RnNames.hs` module
-------------------------------------+-------------------------------------
        Reporter:  chshersh          |                Owner:  (none)
            Type:  feature request   |               Status:  patch
        Priority:  normal            |            Milestone:  8.6.1
       Component:  Compiler          |              Version:  8.4.3
      Resolution:                    |             Keywords:
                                     |  imports,refactoring,export
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D4927
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by mpickering):

 * status:  new => patch
 * differential:   => Phab:D4927


Comment:

 Thanks. Good ticket.

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

_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets
Reply | Threaded
Open this post in threaded view
|

Re: [GHC] #15335: Export `findImportUsage` from `rename/RnNames.hs` module

GHC - devs mailing list
In reply to this post by GHC - devs mailing list
#15335: Export `findImportUsage` from `rename/RnNames.hs` module
-------------------------------------+-------------------------------------
        Reporter:  chshersh          |                Owner:  (none)
            Type:  feature request   |               Status:  patch
        Priority:  normal            |            Milestone:  8.6.1
       Component:  Compiler          |              Version:  8.4.3
      Resolution:                    |             Keywords:
                                     |  imports,refactoring,export
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D4927
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"2b1adaa7817c453df868d928312a9a99a0481eb1/ghc" 2b1adaa/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="2b1adaa7817c453df868d928312a9a99a0481eb1"
 Export findImportUsage and ImportDeclUsage

 Reviewers: bgamari, alpmestan

 Reviewed By: alpmestan

 Subscribers: alpmestan, rwbarton, thomie, carter

 GHC Trac Issues: #15335

 Differential Revision: https://phabricator.haskell.org/D4927
 }}}

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

_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets
Reply | Threaded
Open this post in threaded view
|

Re: [GHC] #15335: Export `findImportUsage` from `rename/RnNames.hs` module

GHC - devs mailing list
In reply to this post by GHC - devs mailing list
#15335: Export `findImportUsage` from `rename/RnNames.hs` module
-------------------------------------+-------------------------------------
        Reporter:  chshersh          |                Owner:  (none)
            Type:  feature request   |               Status:  merge
        Priority:  normal            |            Milestone:  8.6.1
       Component:  Compiler          |              Version:  8.4.3
      Resolution:                    |             Keywords:
                                     |  imports,refactoring,export
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D4927
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by bgamari):

 * status:  patch => merge


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

_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets
Reply | Threaded
Open this post in threaded view
|

Re: [GHC] #15335: Export `findImportUsage` from `rename/RnNames.hs` module

GHC - devs mailing list
In reply to this post by GHC - devs mailing list
#15335: Export `findImportUsage` from `rename/RnNames.hs` module
-------------------------------------+-------------------------------------
        Reporter:  chshersh          |                Owner:  (none)
            Type:  feature request   |               Status:  closed
        Priority:  normal            |            Milestone:  8.6.1
       Component:  Compiler          |              Version:  8.4.3
      Resolution:  fixed             |             Keywords:
                                     |  imports,refactoring,export
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D4927
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by bgamari):

 * status:  merge => closed
 * resolution:   => fixed


Comment:

 Merged in 2f3ec4ea3c0556a5280df3512e512f498dc76cae.

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

_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets