Are public/private imports implemented?
Ary Borenszweig
ary at esperanto.org.ar
Mon Jan 21 16:20:51 PST 2008
Bill Baxter escribió:
> It's going to bite me hard if it ever gets fixed. For imports I'm not
> using extensively in a module I tend to use fully qualified names and
> take a "shoot first; ask questions later" approach. So for instance I'm
> sure I have *lots* of std.string.format()'s in modules that never
> imported std.string which just happen to work because some module
> somewhere that I imported does.
>
> --bb
Thanks for your answers.
Phobos is going to be bitten hard if it gets fixed, but the fix is
pretty easy: just add import statements. :-)
For now, I'll make Descent have that bug too, so it behaves exactly like
DMD (although it's harder for me to implement that incorrectly :-P).
More information about the Digitalmars-d-learn
mailing list