import concerns (was Re: Historical language survey)
Derek Parnell
derek at psych.ward
Sat Jul 8 01:06:02 PDT 2006
On Sat, 08 Jul 2006 15:18:42 +1000, kris <foo at bar.com> wrote:
> Walter Bright wrote:
>> Brad Roberts wrote:
> [snip]
>>> How much begging would it take to try for a release or two having
>>> private symbols invisible to the importer? It's really much more
>>> intuitive, imho. I haven't looked at this part of the front end code,
>>> but if it's easy, feel free to make it controllable via a compiler
>>> option just for the experiment's time frame.
>> The problems happen when one has:
>> void foo(int x);
>> private void foo(long x);
>> So the first foo is found, then overload rules apply, and the second
>> foo is selected.
>
>
> So, in D, what does private actually mean? The verbose version if you
> wouldn't mind, with all known corner-cases noted?
>
> I think the full explanation would help a lot, since it's often easier
> to remember the things one should not do, rather than those one should.
That why I wrote http://www.users.bigpond.com/ddparnell/attr.html but no
one has bothered to comment it yet - including Walter whom I explicitly
asked to.
--
Derek Parnell
Melbourne, Australia
More information about the Digitalmars-d
mailing list