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 ...
Simon Peyton-Jones
simonpj@microsoft.com
Mon, 16 Sep 2002 13:46:19 +0100
Thanks; fixed
| -----Original Message-----
| From: Sven Panne [mailto:Sven.Panne@informatik.uni-muenchen.de]
| Sent: 14 September 2002 15:59
| To: cvs-ghc@haskell.org
| Subject: Re: 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 ...
|=20
| 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:
|=20
| ----------------------------------------
| module A(foo, Bar(..)) where
|=20
| foo :: Bar
| foo =3D MkBar 42
|=20
| data Bar =3D MkBar Int
| ----------------------------------------
| module B(module A) where
|=20
| import A hiding (Bar)
| import A(Bar)
| ----------------------------------------
| module C where
|=20
| import B
|=20
| baz :: Bar
| baz =3D foo
| ----------------------------------------
| ghc -c -Wall A.hs B.hs C.hs
|=20
| C.hs:6: Variable not in scope: `foo'
| ----------------------------------------
|=20
| Cheers,
| S.
|=20
| _______________________________________________
| Cvs-ghc mailing list
| Cvs-ghc@haskell.org
| http://www.haskell.org/mailman/listinfo/cvs-ghc
_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc