[GHC] #11071: The "Not in scope" error is misleading
GHC
ghc-devs at haskell.org
Sun Nov 8 18:09:14 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 osa1):
I don't understand why would anyone conclude from this message:
{{{
Not in scope: NameSpace.name
}}}
that the namespace doesn't define the name. The message doesn't say
anything about something being defined or not, it's very clearly saying
that the name is not in scope. It may be because of different reasons.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11071#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list