Re: [GHC] #7426: import Foo hiding (X) should not be a fatal error when X is not exported by Foo

2012-11-19 Thread GHC
#7426: import Foo hiding (X) should not be a fatal error when X is not exported by Foo +--- Reporter: luqui | Owner: Type: bug| Status

[GHC] #7426: import Foo hiding (X) should not be a fatal error when X is not exported by Foo

2012-11-17 Thread GHC
#7426: import Foo hiding (X) should not be a fatal error when X is not exported by Foo --+- Reporter: luqui | Owner: Type: bug| Status: new

Re: [GHC] #7426: import Foo hiding (X) should not be a fatal error when X is not exported by Foo

2012-11-17 Thread GHC
#7426: import Foo hiding (X) should not be a fatal error when X is not exported by Foo ---+ Reporter: luqui | Owner: Type: bug | Status: new

Re: [GHC] #7426: import Foo hiding (X) should not be a fatal error when X is not exported by Foo

2012-11-17 Thread GHC
#7426: import Foo hiding (X) should not be a fatal error when X is not exported by Foo ---+ Reporter: luqui | Owner: Type: bug | Status: new

GHC 5.02, import Prelude hiding ...

2001-09-27 Thread Thomas Hallgren
Hi, The following program was accepted by previous versions of GHC, but is not in GHC 5.02 module HidingBug where import Prelude hiding (lookup) lookup env x = Prelude.lookup x env Instead, you get the error message HidingBug.hs:4: Variable not in scope: `Prelude.lookup' This behaviour

RE: import with hiding

2001-08-09 Thread Simon Marlow
I can't repeat this with a small example, and I can't repeat it with the example you attached because it requires several other modules. Perhaps you could try the compile again, but add the flag '-ddump-rn-trace', and send us the output? Cheers, Simon

import with hiding

2001-08-06 Thread George Russell
DaVinciTypes defines the types DaVinciAnswer and the constructor Context. (.hi file attached.) So I would expect import DaVinciTypes hiding (Context) import qualified DaVinciTypes to make DaVinciAnswer in scope, but DaVinciTypes.Context only available when so qualified. This doesn't appear