[Issue 4407] Catch wrong argument-attribute assignments in methods

2015-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4407 Andrei Alexandrescu and...@erdani.com changed: What|Removed |Added Version|D1 D2 |D2 --

[Issue 4407] Catch wrong argument-attribute assignments in methods

2013-06-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4407 Denis Shelomovskij verylonglogin@gmail.com changed: What|Removed |Added CC|

[Issue 4407] Catch wrong argument-attribute assignments in methods

2013-01-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4407 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 4407] Catch wrong argument-attribute assignments in methods

2012-12-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4407 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added CC|

[Issue 4407] Catch wrong argument-attribute assignments in methods

2011-07-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4407 --- Comment #4 from bearophile_h...@eml.cc 2011-07-11 10:03:16 PDT --- One example of bug related to x=x; found inside the good QT libs: PassRefPtrStructure Structure::getterSetterTransition(Structure* structure) { ... RefPtrStructure

[Issue 4407] Catch wrong argument-attribute assignments in methods

2010-10-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4407 --- Comment #3 from bearophile_h...@eml.cc 2010-10-01 16:57:39 PDT --- Another similar class of bugs, suggested by JimBob: class Foo { int m_x; this(int x) { int m_x = x; } } -- Configure issuemail:

[Issue 4407] Catch wrong argument-attribute assignments in methods

2010-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4407 --- Comment #1 from bearophile_h...@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

[Issue 4407] Catch wrong argument-attribute assignments in methods

2010-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4407 --- Comment #2 from bearophile_h...@eml.cc 2010-09-20 17:47:19 PDT --- It's present among the Semantic Errors of Java code in the Google Web Toolkit too: