Ticket #5745 (closed bug: wontfix)
import-hidden symbol is still re-exported
Description
In the following, I get different behaviour with ghc-7.0.4 and ghc-7.2.2:
module I ( module Text.ParserCombinators.Parsec ) where import Text.ParserCombinators.Parsec hiding ( State )
module U where import I x = undefined :: State () ()
with ghc-7.0.4, I get the expected
ghc-7.0.4 --make U -package parsec-3.1.2 [2 of 2] Compiling U ( U.hs, U.o ) U.hs:4:18: Not in scope: type constructor or class `State'
while ghc-7.2.2, it compiles. Is this a feature?
Change History
Note: See
TracTickets for help on using
tickets.
