[GHC] #9609: GHCi gives overly specific error message for unknown constructor
GHC
ghc-devs at haskell.org
Thu Sep 18 16:50:45 UTC 2014
#9609: GHCi gives overly specific error message for unknown constructor
-------------------------------------+-------------------------------------
Reporter: dfeuer | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.8.2
Keywords: | Operating System:
Architecture: Unknown/Multiple | Unknown/Multiple
Difficulty: Unknown | Type of failure:
Blocked By: | None/Unknown
Related Tickets: | Test Case:
| Blocking:
| Differential Revisions:
-------------------------------------+-------------------------------------
What happens:
{{{
Prelude> :i Fish
Top level: Not in scope: data constructor ‘Fish’
}}}
This is potentially confusing because `:i` can be used for type
constructors and classes, as well as data constructors. What I think
should happen:
{{{
Prelude> :i Fish
Top level: Not in scope: constructor or class ‘Fish’
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9609>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list