[GHC] #11071: The "Not in scope" error is misleading
GHC
ghc-devs at haskell.org
Sun Nov 8 13:16:54 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
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:
-------------------------------------+-------------------------------------
E.g., if I have something like `Maybe.maybeToList` in a module, which does
not have such an import, I get the following error:
Not in scope: ‘Maybe.maybeToList’
Which leads the user to conclude that the `Maybe` namespace does not
contain the `maybeToList` element, instead of informing that the `Maybe`
namespace is not imported altogether instead.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11071>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list