https://issues.dlang.org/show_bug.cgi?id=20012
ponce <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #15 from ponce <[email protected]> --- Nice to see an explanation for this. > You can also use: > enum M = "export extern(C) void fun() {}"; > mixin(M); We do use the string mixin workaround for years, it hasn't been a huge problem, just a minor surprise. Meh. --
