cvs commit: hugs98/src static.c storage.h
Sigbjorn Finne
sof@glass.cse.ogi.edu
Tue, 19 Mar 2002 02:55:11 -0800
sof 2002/03/19 02:55:10 PST
Modified files:
src static.c storage.h
Log:
Properly handle re-exportation of types and classes.
By tracking the data constructors/class members of a d.type/class
that are in scope in a module, the interpreter will now handle
(..) re-exportation of classes/types correctly, i.e.,
module Bar where { data X = Y Int | Z Char; };
module Foo (X(..)) where { import Bar(X(Y)); };
will now only re-export X's Y dcon from Foo, and not Z.
Revision Changes Path
1.54 +137 -25 hugs98/src/static.c
1.27 +3 -3 hugs98/src/storage.h