[Issue 23744] Bug/Edge case - Shorthand static if/foreach + case labels causes logical but unexpected behaviour

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Apr 3 07:21:41 UTC 2023


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

Bradley Chatha <bradley at chatha.dev> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Static foreach has          |Bug/Edge case - Shorthand
                   |different behaviour inside  |static if/foreach + case
                   |switch statements depending |labels causes logical but
                   |on whether the body is in   |unexpected behaviour
                   |braces or not               |

--


More information about the Digitalmars-d-bugs mailing list