Thread overview
[Issue 20007] Add the `__COUNTER__` special keyword
[Issue 20007] Add a compiler trait allowing to obtain unique identifiers
Jun 26
Dlang Bot
[Issue 20007] Add a new expression similar to the C __COUNTER__ macro
Jul 03
Basile-z
[Issue 20007] Add a new expression similar to the C `__COUNTER__` macro
Jul 04
Basile-z
Jul 04
Basile-z
Jul 06
Dlang Bot
June 26
https://issues.dlang.org/show_bug.cgi?id=20007

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

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

--- Comment #1 from Dlang Bot <dlang-bot@dlang.rocks> ---
@Basile-z created dlang/dmd pull request #10093 "fix issue 20007 - Add a compiler trait allowing to obtain unique identifiers" fixing this issue:

- fix issue 20007 - Add a compiler trait allowing to obtain unique identifiers

  The trait exposes the `Identifier.generateId` overload taking a prefix,
allowing to get unique identifier in metaprog code, just like when the compiler
does AST rewrites or when it generate temporaries.

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

--
July 03
https://issues.dlang.org/show_bug.cgi?id=20007

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Add a compiler trait        |Add a new expression
                   |allowing to obtain unique   |similar to the C
                   |identifiers                 |__COUNTER__ macro

--
July 04
https://issues.dlang.org/show_bug.cgi?id=20007

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Add a new expression        |Add a new expression
                   |similar to the C            |similar to the C
                   |__COUNTER__ macro           |`__COUNTER__` macro

--
July 04
https://issues.dlang.org/show_bug.cgi?id=20007

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Add a new expression        |Add  the `__COUNTER__`
                   |similar to the C            |special keyword
                   |`__COUNTER__` macro         |

--
July 06
https://issues.dlang.org/show_bug.cgi?id=20007

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
@Basile-z updated dlang/dmd pull request #10131 "fix issue 20007 - Add the `__COUNTER__` primary expression" fixing this issue:

- fix issue 20007 - Add a new expression similar to the C `__COUNTER__` macro

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

--