[Issue 17141] Type Inference Incorrectly Converts Characters to Integers

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Apr 30 13:29:10 PDT 2017


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

Steven Schveighoffer <schveiguy at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |schveiguy at yahoo.com

--- Comment #8 from Steven Schveighoffer <schveiguy at yahoo.com> ---
I'm not sure the cure is better than the disease.

If CommonType!(dchar, char) becomes dchar, then chaining together a range of
dchar with a range of char *integer promotes* the char range to dchar. It
doesn't decode it!

--


More information about the Digitalmars-d-bugs mailing list