[Issue 4407] Catch wrong argument<->attribute assignments in methods
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Sep 20 17:33:23 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4407
--- Comment #1 from bearophile_hugs at eml.cc 2010-09-20 17:32:46 PDT ---
To keep the language semantics more uniform (instead of special-casing just in
methods), all redundant assignments may be flagged as errors:
void main() {
int x;
x = x; // error, redundant assignment
}
--
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