[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
circular module uses
- To: address@hidden
- Subject: circular module uses
- From: Gabor Greif <address@hidden>
- Date: Fri, 08 Mar 2002 14:00:02 -0500
- Organization: Lucent Technologies
- Sender: "Gregory T. Sullivan" <address@hidden>
- Xref: traf.lcs.mit.edu comp.lang.dylan:13975
If I have a library with three modules (sketch):
define library L
use dylan;
export a,b,c;
end;
define module a
export xxx;
end;
define module b
use a;
use c;
export yyy;
end;
define module c
export zzz;
end;
Is it intended that module \b has access to \zzz from module \c ???
I.e. Is it admissible that modules of a library have circular (forward) use dependencies?
My idea is that this should be allowed. Is there a reason to forbid it?
GD does not complain about it at least, but does not see \zzz from inside \b either.
I guess this is a bug.
Thanks,
Gabor