On Tuesday, 3 April 2018 at 19:31:50 UTC, Vladimirs Nordholm wrote:
    switch(foo)

Put the label on the switch

whatever: switch(foo)


            mixin(format("
                case Foo.%s:    bar = Bar.%s;    break;
            ", f, f));

then use the label here

break whatever;

Reply via email to