digitalmars.D.bugs - [Issue 2130] New: Qualifier does not apply to multiple typed definition
- d-bugmail puremagic.com (22/22) May 24 2008 http://d.puremagic.com/issues/show_bug.cgi?id=2130
- d-bugmail puremagic.com (11/11) Jun 15 2008 http://d.puremagic.com/issues/show_bug.cgi?id=2130
http://d.puremagic.com/issues/show_bug.cgi?id=2130 Summary: Qualifier does not apply to multiple typed definition Product: D Version: unspecified Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: andrei metalanguage.com This works: invariant a = 0, b = 1; This does not work: invariant size_t a = 0, int b = 1; It should work. --
May 24 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2130 bugzilla digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID This is by design. If there are multiple declarations separated by commas, the type can only appear on the first one, and the same type applies to all the declarations. --
Jun 15 2008