On Wednesday, 26 February 2020 at 08:25:00 UTC, Abby wrote:
Any idea why?

Ok so this is enough to produce the same result, it seems that there is a problem in string switch when there is more the 6 cases.

extern(C) void main()
{
    auto s = "F";
    final switch(s)
    {
        case "A": break;
        case "B": break;
        case "C": break;
        case "D": break;
        case "E": break;
        case "F": break;
        case "G": break;
    }
}

Reply via email to