[GHC] #11071: The "Not in scope" error is misleading

GHC ghc-devs at haskell.org
Sun Nov 8 18:14:06 UTC 2015


#11071: The "Not in scope" error is misleading
-------------------------------------+-------------------------------------
        Reporter:  mojojojo          |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       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):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by mojojojo):

 Reference to a specific member implies that that particular member is the
 problem, while in reality it is the absence of the whole namespace that is
 the problem. In no way does the current message suggest that.

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


More information about the ghc-tickets mailing list