Switch ignores case (?)

ketmar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Nov 23 13:06:58 PST 2016


On Wednesday, 23 November 2016 at 20:49:01 UTC, Chris wrote:
> Actually, I came across a compiler message that gave me 
> something like \x19\x20 which I found odd. This sure needs 
> fixing. After all, it's quite a basic feature. So it's back to 
> the old `if` again (for now).

yeah, until this is fixed, `switch` over wstring/dstring can be 
considered completely broken, and better be avoided. `switch` 
over normal string is unaffected, of course.


More information about the Digitalmars-d-learn mailing list