[Issue 3470] [tdpl]: .length should not pop up inside indexing expressions.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Nov 6 07:00:24 PST 2009


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



--- Comment #5 from Andrei Alexandrescu <andrei at metalanguage.com> 2009-11-06 07:00:23 PST ---
(In reply to comment #4)
> Why? Is it because compiler doesn't detect ambiguity/shadowing?

There were discussions in the newsgroup in the past. In brief it is bad
practice to have the language introduce identifiers automatically in select
places. Essentially that makes the identifiers de facto keywords because you
shouldn't use them as regular identifiers - they could always be shadowed.

Searching the title of the newgroup for "length" shows many related
conversations.

-- 
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