[Issue 12100] __GENTYPE to generate ever different types

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue May 27 09:37:02 PDT 2014


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

--- Comment #11 from bearophile_hugs at eml.cc ---
A temporary workaround (not meant to be left in place forever) could be using
lambdas as cookie:

pragma(msg, ((int) => 0).stringof);
pragma(msg, ((int) => 0).stringof);
void main() {}


Output:

__lambda3
__lambda4

--


More information about the Digitalmars-d-bugs mailing list