Thread overview | ||||||||
---|---|---|---|---|---|---|---|---|
|
December 17, 2022 [Issue 19578] Generated function parameter names may shadow existing symbols | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19578 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P3 -- |
April 25, 2023 [Issue 19578] Generated function parameter names may shadow existing symbols | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19578 RazvanN <razvan.nitu1305@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |razvan.nitu1305@gmail.com --- Comment #1 from RazvanN <razvan.nitu1305@gmail.com> --- I'm not certain what we can do in this situation. Apart from maybe adding a second underscore; that way we will be covered by the spec. Is that what this bug report is asking for? -- |
April 25, 2023 [Issue 19578] Generated function parameter names may shadow existing symbols | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19578 --- Comment #2 from RazvanN <razvan.nitu1305@gmail.com> --- To be clear, I don't think that adding a special rule to make name resolution bypass the generated name is worth it. -- |
April 25, 2023 [Issue 19578] Generated function parameter names may shadow existing symbols | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19578 --- Comment #3 from Paul Backus <snarwin+bugzilla@gmail.com> --- Yes, adding a second underscore would fix this. -- |
April 25, 2023 [Issue 19578] Generated function parameter names may shadow existing symbols | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19578 RazvanN <razvan.nitu1305@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |bootcamp, trivial -- |
April 25, 2023 [Issue 19578] Generated function parameter names may shadow existing symbols | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19578 RazvanN <razvan.nitu1305@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #4 from RazvanN <razvan.nitu1305@gmail.com> --- *** This issue has been marked as a duplicate of issue 19454 *** -- |
Copyright © 1999-2021 by the D Language Foundation