[Issue 20007] Add a compiler trait allowing to obtain unique identifiers

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jun 26 11:07:43 UTC 2019


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

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

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

--- Comment #1 from Dlang Bot <dlang-bot at 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

--


More information about the Digitalmars-d-bugs mailing list