[GHC] #14717: Hidden package hints no longer display
GHC
ghc-devs at haskell.org
Tue Jan 30 13:41:25 UTC 2018
#14717: Hidden package hints no longer display
-------------------------------------+-------------------------------------
Reporter: snoyberg | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.2.2
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: Poor/confusing | Unknown/Multiple
error message | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by taylorfausak):
Thanks for reporting this! I noticed this change in behavior but didn't
think too much about it. It hasn't affected my day-to-day that much
because I know which packages most modules I use come from. However it
would be nice to get the old suggestion back. And since I don't see the
old suggestion in this thread yet, here it is:
{{{
> cat Main.hs
import Data.Map
main = pure ()
> stack --resolver ghc-8.0.2 exec -- ghc -hide-all-packages -package base
Main.hs
[1 of 1] Compiling Main ( Main.hs, Main.o )
Main.hs:1:1: error:
Failed to load interface for ‘Data.Map’
It is a member of the hidden package ‘containers-0.5.7.1’.
Use -v to see a list of the files searched for.
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14717#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list