[Issue 13362] DMD accepts body-less switch

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jan 4 00:46:05 UTC 2021


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

Basile-z <b2.temp at gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |b2.temp at gmx.com

--- Comment #3 from Basile-z <b2.temp at gmx.com> ---
switch (a)
    static foreach (c, list)
         case c: mixin(gencodefor!c);

--


More information about the Digitalmars-d-bugs mailing list