cvs commit: fptools/ghc/compiler Makefile count_lines
fptools/ghc/compiler/absCSyn AbsCSyn.lhs CLabel.lhs fptools/ghc/compiler/b
asicTypes BasicTypes.lhs IdInfo.lhs Literal.lhs MkId.lhs Module.lhs
Name.lhs NameEnv.lhs OccName.lhs ...
Sven Panne
Sven.Panne@informatik.uni-muenchen.de
Sat, 14 Sep 2002 16:58:50 +0200
Imports/exports/hinding in the HEAD has been broken. The
following example (trying to hide MkBar from modules
importing B) used to work, but it fails now:
----------------------------------------
module A(foo, Bar(..)) where
foo :: Bar
foo = MkBar 42
data Bar = MkBar Int
----------------------------------------
module B(module A) where
import A hiding (Bar)
import A(Bar)
----------------------------------------
module C where
import B
baz :: Bar
baz = foo
----------------------------------------
ghc -c -Wall A.hs B.hs C.hs
C.hs:6: Variable not in scope: `foo'
----------------------------------------
Cheers,
S.
_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc