Thread overview
[Issue 19454] Name collisions with unnamed function parameters
Nov 30, 2018
Seb
Dec 12, 2019
Basile-z
Mar 21, 2020
Basile-z
Dec 17, 2022
Iain Buclaw
Apr 25, 2023
RazvanN
May 01, 2023
Dlang Bot
May 01, 2023
Dlang Bot
November 30, 2018
https://issues.dlang.org/show_bug.cgi?id=19454

Seb <greeenify@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |greeenify@gmail.com
           Severity|enhancement                 |major

--
December 12, 2019
https://issues.dlang.org/show_bug.cgi?id=19454

Basile-z <b2.temp@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |bootcamp, patch
                 CC|                            |b2.temp@gmx.com
           Hardware|x86_64                      |All
                 OS|Linux                       |All
           Severity|major                       |normal

--- Comment #1 from Basile-z <b2.temp@gmx.com> ---
---
diff --git a/src/dmd/semantic3.d b/src/dmd/semantic3.d index 7b08f3639..6e34ed7db 100644
--- a/src/dmd/semantic3.d
+++ b/src/dmd/semantic3.d
@@ -439,7 +439,7 @@ private extern(C++) final class Semantic3Visitor : Visitor
                         /* Generate identifier for un-named parameter,
                          * because we need it later on.
                          */
-                        fparam.ident = id = Identifier.generateId("_param_",
i);
+                        fparam.ident = id = Identifier.generateId("__param_",
i);
                         stc |= STC.temp;
                     }
                     Type vtype = fparam.type;

---

--
March 21, 2020
https://issues.dlang.org/show_bug.cgi?id=19454

Basile-z <b2.temp@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|b2.temp@gmx.com             |

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=19454

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P3

--
April 25, 2023
https://issues.dlang.org/show_bug.cgi?id=19454

RazvanN <razvan.nitu1305@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |snarwin+bugzilla@gmail.com

--- Comment #2 from RazvanN <razvan.nitu1305@gmail.com> ---
*** Issue 19578 has been marked as a duplicate of this issue. ***

--
May 01, 2023
https://issues.dlang.org/show_bug.cgi?id=19454

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
@dkorpel created dlang/dmd pull request #15153 "Fix 19454 - Name collisions with unnamed function parameters" fixing this issue:

- Fix 19454 - Name collisions with unnamed function parameters

https://github.com/dlang/dmd/pull/15153

--
May 01, 2023
https://issues.dlang.org/show_bug.cgi?id=19454

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #15153 "Fix 19454 - Name collisions with unnamed function parameters" was merged into master:

- ba2f9222fd46cb450332dbad776b19767d3f2d42 by Dennis Korpel:
  Fix 19454 - Name collisions with unnamed function parameters

https://github.com/dlang/dmd/pull/15153

--