
cat Main.hs import Data.Map
#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: {{{ 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