[Issue 18625] mixin(__MODULE__) in string mixin results in undefined identifier in certain cases
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Mar 17 22:20:46 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=18625
ag0aep6g <ag0aep6g at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ag0aep6g at gmail.com
Hardware|x86 |All
OS|Windows |All
Severity|enhancement |normal
--- Comment #1 from ag0aep6g <ag0aep6g at gmail.com> ---
Reduced:
----
module y.asdf;
pragma(msg, __MODULE__); /* y.asdf */
pragma(msg, mixin("__MODULE__")); /* asdf */
----
Both lines should print "y.asdf".
--
More information about the Digitalmars-d-bugs
mailing list