Thread overview | |||||
---|---|---|---|---|---|
|
May 16, 2018 [Issue 3878] Arguments and members with the same name | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=3878 Dmitry Olshansky <dmitry.olsh@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dmitry.olsh@gmail.com --- Comment #14 from Dmitry Olshansky <dmitry.olsh@gmail.com> --- If it were to ever happen it needs a DIP. // is super common idiom and nobody is buffled by what is happening here this.x = x; // Now this should be caught be compiler just using the heuristic // "pure expression with its results discarded" x = x; -- |
December 17, 2022 [Issue 3878] Arguments and members with the same name | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=3878 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P2 |P4 -- |
December 19, 2022 [Issue 3878] Arguments and members with the same name | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=3878 RazvanN <razvan.nitu1305@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |razvan.nitu1305@gmail.com Resolution|--- |WONTFIX --- Comment #15 from RazvanN <razvan.nitu1305@gmail.com> --- I am also opposed to this enhancement. This check may be implemented by a third party tool using dmd as a library. In fact, IIRC d-scanner already has such a check. Since it is a matter of preference, folks can use it or not by running D-scanner on their code. Closing as WONTFIX. -- |
Copyright © 1999-2021 by the D Language Foundation