import-hidden symbol is still re-exported
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?
Trac metadata
Trac field | Value |
---|---|
Version | 7.2.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |