[Issue 2716] Confusion of auto and scope as the class attribute
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jul 13 03:58:19 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2716
--- Comment #7 from Stewart Gordon <smjg at iname.com> 2009-07-13 03:58:18 PDT ---
(In reply to comment #6)
> Created an attachment (id=421)
--> (http://d.puremagic.com/issues/attachment.cgi?id=421) [details]
> Do not consider auto to mean scope.
>
> This is a patch against LDC's DMDFE. It removes the remaining instances of auto
> meaning scope and makes 'auto class C { ... }' and 'auto C c;' an 'Error:
> storage class has no effect: auto'. See also bug 3118 .
"storage class has no effect" seems to be the wrong wording. Firstly, it'll be
a case of doesn't make sense rather than has no effect; secondly, this is
making it not a storage class at all.
Moreover, should we get rid of it straight off, or deprecate it first?
--
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