cvs commit: hugs98/src static.c storage.h

sof 2002/09/15 09:44:38 PDT Modified files: src static.c storage.h Log: Dual to the orphan/subordinate related fixes in export lists, prevent seepage of parent names when subordinate names are given in import lists. Do this by adding fixupIEList() which canonicalises an import/export list, joining orphans/subordinate with their parents (if possible -- see fixupIEList() comments.) To simplify, the handling of both import and export lists now use fixupIEList(). In the case of import lists, the canonicalisation is performed after all import declarations have been processed. Revision Changes Path 1.98 +297 -166 hugs98/src/static.c 1.43 +7 -3 hugs98/src/storage.h

This is getting a lot harder, but: module A where data Foo = Foo module B(module A) where import A hiding (Foo) import A (Foo) module C where import B f = Foo -- should fail, but doesn't

Thanks, now fixed (see commit for details.)
--sigbjorn
----- Original Message -----
From: "Ross Paterson"
This is getting a lot harder, but:
module A where data Foo = Foo
module B(module A) where import A hiding (Foo) import A (Foo)
module C where import B f = Foo -- should fail, but doesn't
participants (3)
-
Ross Paterson
-
Sigbjorn Finne
-
Sigbjorn Finne