[Issue 2716] Confusion of auto and scope as the class attribute

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jul 14 09:35:45 PDT 2009


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





--- Comment #11 from Christian Kamm <kamm-removethis at incasoftware.de>  2009-07-14 09:35:40 PDT ---
I've switched the error message to "both auto and explicit type given". auto
class C {} will still trigger the "storage class has no effect" one though. I
don't think error messages of this kind are avoidable if you want to make
directly applying inapplicable storage classes an error.

By the way, bug 3118 would benefit from having a list of attributes and
declarations that should trigger an error if combined via direct application. I
can't guarantee I'll find the time to work on it though.

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