[Issue 7432] DMD allows variables to be declared as pure

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Aug 18 09:24:56 PDT 2013


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



--- Comment #8 from Stewart Gordon <smjg at iname.com> 2013-08-18 09:24:53 PDT ---
(In reply to comment #6)
> This is a feature of D

According to which bit of the spec?

> - in general case any attribute is legal (except those for which 
> there are arbitrary checks and rejections) and auto can be replaced 
> by other attributes to launch type inference.  Since pure is 
> harmless here I think this is resolved-wontfix.

Maybe, but it doesn't seem to me to make much sense.  If it's intended
behaviour, this needs to be stated in the spec.

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