https://issues.dlang.org/show_bug.cgi?id=12711
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from [email protected] --- (In reply to Andrej Mitrovic from comment #0) > This is very ugly. I'm not sure whether it's a DMD bug or a Phobos bug > though. It's an ugly dmd bug: void main() { pragma(msg, typeof(true ? char('x') : '_')); pragma(msg, typeof(true ? wchar('x') : '_')); pragma(msg, typeof(true ? dchar('x') : '_')); } Output: char int uint But perhaps I already reported this issue, please search it in Bugzilla. --
