[Issue 3878] Arguments and members with the same name

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Oct 2 11:07:18 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=3878


Stewart Gordon <smjg at iname.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |smjg at iname.com
            Summary|Arguments and attributes    |Arguments and members with
                   |with the same name          |the same name


--- Comment #5 from Stewart Gordon <smjg at iname.com> 2010-10-02 11:06:58 PDT ---
The summary was confusing - many of us understand "attributes" to mean the
keywords that qualify a declaration.  It took me few moments to make sense of
it.

(In reply to comment #0)
> Less restricting solution: in only those cases, where there can be ambiguity
> for the eyes of a programmer, the compiler can require the use of "this.".

It already is required when you want to access the member in such
circumstances.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list