[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [DotGNU]a bug report

From: Kamen Yotov
Subject: Re: [DotGNU]a bug report
Date: Fri, 19 Dec 2003 09:25:02 -0500

Hi Gopal,

I am aware of the possibility of having System there.
Without having read the spec, I think the algorithm for "where to attach the
A" is:


namespace N1.N2.N3.N4,...,Nn
    using N;

first try to attach N to N1.N2....Nn and see if that makes sense (namespace
exists). if so, this is the correct binding.
if not, drop Nn and try to attach N to N1.N2,...,Nn-1
and so on.
if all of them fail, then N is not attached to anything (your System

I might look into the code and fix it, but correct me if my understanding is
wrong (because it is just intuition)


----- Original Message ----- 
From: "Gopal V" <address@hidden>
To: "Kamen Yotov" <address@hidden>; <address@hidden>
Sent: Friday, December 19, 2003 02:12
Subject: Re: [DotGNU]a bug report

> Hi Kamen,
> > //using A.B;
> >
> > namespace A
> > {
> >  using B;
> ..
> > note that this compiles under microsoft .net and
> > does not under pnet (unless you uncomment the second
> > line).
> *eew* , ugly. The problem with this is that you could
> as well have "using System;" inside the namespace
> (IIRC). It's kinda too hard to figure out where to
> attach the prefix "A" and where not to .
> That said, I think I screwed up ILNode_Using sometime
> last year and haven't fixed it yet ... :)
> Gopal
> __________________________________
> Do you Yahoo!?
> New Yahoo! Photos - easier uploading and sharing.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]