[GHC] #11071: "Not in scope" errors should be more informative for qualified names.

GHC ghc-devs at haskell.org
Fri Nov 13 09:14:41 UTC 2015


#11071: "Not in scope" errors should be more informative for qualified names.
-------------------------------------+-------------------------------------
        Reporter:  mojojojo          |                Owner:  nomeata
            Type:  feature request   |               Status:  patch
        Priority:  normal            |            Milestone:  8.0.1
       Component:  Compiler          |              Version:  7.10.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D1462
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Joachim Breitner <mail@…>):

 In [changeset:"e66f79dfb22031dd3f75dd3eb341e8269ab51d83/ghc"
 e66f79df/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="e66f79dfb22031dd3f75dd3eb341e8269ab51d83"
 Give helpful advice when a fully qualified name is not in scope

 This implements #11071. It needs to thread through a GlobalRdrEnv
 corresponding to the export list of the module if its exports were not
 restricted.

 A refactoring of ImportedModsVal into a proper data type follows.

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

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


More information about the ghc-tickets mailing list