#5745: import-hidden symbol is still re-exported
------------------------------+---------------------------------------------
Reporter: j.waldmann | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 7.2.1 | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: None/Unknown | Testcase:
Blockedby: | Blocking:
Related: |
------------------------------+---------------------------------------------
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?
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5745>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs