On Sunday, 6 October 2019 at 00:58:17 UTC, SrMordred wrote: > But why if this is a final switch? (also assert(0); at the end > don´t help ) Because the optimization hasn't been implemented yet. https://issues.dlang.org/show_bug.cgi?id=13169