@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
Comment #2 by dlang-bot — 2019-07-06T05:59:37Z
@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
Comment #3 by robert.schadek — 2024-12-13T19:04:22Z