[Issue 9630] DMD git: can't access array field properties from static method
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Mar 1 22:07:26 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9630
--- Comment #9 from Kenji Hara <k.hara.pg at gmail.com> 2013-03-01 22:07:26 PST ---
(In reply to comment #7)
> > Now, the unreal variable access doesn't make errors if it is not actually used.
>
> But i[0] is not used as well.
>
> I guess you mean to say that the behavior is "intended", as in it has been
> deemed an acceptable flaw?
Because i[0] is _not_ a variable. `i[0]` should be evaluated in runtime but it
is impossible, so compiler reports "need this" error.
--
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