[Issue 3118] Need a clear spec on how inapplicable attributes are handled
https://issues.dlang.org/show_bug.cgi?id=3118 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Version|1.045 |D1 --
[Issue 3118] Need a clear spec on how inapplicable attributes are handled
http://d.puremagic.com/issues/show_bug.cgi?id=3118 --- Comment #4 from Stewart Gordon s...@iname.com 2011-02-22 16:11:49 PST --- (In reply to comment #3) attribute int a; attribute: int a; attribute { int a; } should all have the same meaning for a. This whole debate is about legality, not meaning. Defining that they always all have the same legality erodes the usefulness of the colon notation especially, since one could try to use it and then be forced to move a declaration to which it doesn't make sense to above the attribute, which can get annoying if you want to place declarations in some intuitive or logical order. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 3118] Need a clear spec on how inapplicable attributes are handled
http://d.puremagic.com/issues/show_bug.cgi?id=3118 --- Comment #2 from Stewart Gordon s...@iname.com 2010-11-10 04:35:28 PST --- (In reply to comment #1) i, ii, and iii are equivalent as documented. I think that should remain, as it would be very confusing to make them behave differently. Not sure what you mean by this. Not sure what you mean by iv. I figured that there might be cases (such as align) where applying the attribute to a class, struct, etc. applies it to each of its members. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 3118] Need a clear spec on how inapplicable attributes are handled
http://d.puremagic.com/issues/show_bug.cgi?id=3118 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED CC||bugzi...@digitalmars.com Resolution||WONTFIX --- Comment #1 from Walter Bright bugzi...@digitalmars.com 2010-11-09 23:41:33 PST --- i, ii, and iii are equivalent as documented. I think that should remain, as it would be very confusing to make them behave differently. Not sure what you mean by iv. Other problems with inappropriate attributes should be handled on a case by case basis. I don't think a general policy will work. Therefore, I'll mark this as wontfix, with the supposition that the various cases should each have their one bugzilla entry. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---