import with hiding

George Russell ger at tzi.de
Thu Aug 9 08:03:08 EDT 2001


Simon Marlow wrote:
> 
> 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.
I'm sorry, I attached the wrong file.  The correct DaVinciBasicTest.hs is
attached.  I've also attached the original of the imported file (rather than
the imported one).

Also I've shortened the command line.  The following provokes the bug.

/usr/local/pub-bkb/ghc/ghc-latest/bin/ghc -c DaVinciTypes.hs
/usr/local/pub-bkb/ghc/ghc-latest/bin/ghc -c DaVinciBasicTest.hs

DaVinciBasicTest.hs:7:
    Type constructor or class not in scope: `DaVinciAnswer'

I think the problem is that in the "hiding" list, the constructor "Context" 
is incorrectly specified; it should have been specified as a type.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DaVinciBasicTest.hs
Type: application/octet-stream
Size: 127 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/glasgow-haskell-bugs/attachments/20010809/821c3d2f/DaVinciBasicTest.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DaVinciTypes.hs
Type: application/octet-stream
Size: 39321 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/glasgow-haskell-bugs/attachments/20010809/821c3d2f/DaVinciTypes.obj


More information about the Glasgow-haskell-bugs mailing list